Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PLWN_API
Manage
Activity
Members
Labels
Plan
Issues
10
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Libraries
PLWN_API
Commits
92c6b1b2
Commit
92c6b1b2
authored
4 years ago
by
Mateusz Gniewkowski
Browse files
Options
Downloads
Plain Diff
Merge branch 'adding_tests' into 'master'
Adding tests See merge request
!5
parents
c0756ecd
4143cd84
1 merge request
!5
Adding tests
Pipeline
#1129
passed with stages
in 2 minutes and 3 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+9
-1
9 additions, 1 deletion
.gitlab-ci.yml
plwn/download.py
+1
-1
1 addition, 1 deletion
plwn/download.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
11 additions
and
3 deletions
.gitlab-ci.yml
+
9
−
1
View file @
92c6b1b2
...
...
@@ -9,6 +9,7 @@ cache:
stages
:
-
check_style
-
tests
-
push_wheel
pep8
:
...
...
@@ -21,6 +22,14 @@ docstyle:
script
:
-
tox -v -e docstyle
test
:
stage
:
tests
before_script
:
-
apt-get install -y language-pack-pl-base
-
dpkg-reconfigure locales
script
:
-
python setup.py test
push_wheel
:
before_script
:
-
pip install twine
...
...
@@ -34,4 +43,3 @@ push_wheel:
--repository-url https://pypi.clarin-pl.eu/
-u $PIPY_USER -p $PIPY_PASS dist/plwn_api*.whl
This diff is collapsed.
Click to expand it.
plwn/download.py
+
1
−
1
View file @
92c6b1b2
"""
Implementation of download method.
"""
import
configparser
import
os
import
xml.etree.ElementTree
as
ET
import
re
import
requests
from
six.moves.urllib.request
import
urlopen
from
six.moves
import
configparser
config
=
configparser
.
ConfigParser
()
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
92c6b1b2
...
...
@@ -8,7 +8,7 @@ import os
ENVNAME_DIST_NODEFAULT
=
'
PLWN_API_DIST_NO_DEFAULT_STORAGE
'
setup_args
=
dict
(
name
=
'
PLWN_API
'
,
name
=
'
plwn_api
'
,
version
=
'
0.24
'
,
license
=
'
LGPL-3.0+
'
,
description
=
'
Python API to access plWordNet lexicon
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment