Skip to content

Commit

Permalink
New PyPI release using SWIG 4.0.1.
Browse files Browse the repository at this point in the history
Also a new location of the extension module is used.
  • Loading branch information
foxik committed Nov 20, 2019
1 parent 054195f commit 3aa18e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions releases/pypi/Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for ufal.udpipe

1.2.0.3 [11 Nov 20]
Support Python 3.8 by using swig-4.0.1.

1.2.0.2 [02 May 19]
Improve compilation on OS X.

Expand Down
1 change: 1 addition & 0 deletions releases/pypi/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ cp -a ../../bindings/python/ufal $dir

# Fill in version
sed "s/^\\( *version *= *'\\)[^']*'/\\1$1'/" setup.py >$dir/setup.py
sed "s/^# *__version__ *=.*$/__version__ = \"$1\"/" $dir/ufal/udpipe.py -i

# README file
./README.sh >$dir/README
Expand Down
2 changes: 1 addition & 1 deletion releases/pypi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
license = 'MPL 2.0',
py_modules = ['ufal.udpipe'],
ext_modules = [Extension(
'ufal_udpipe',
'ufal._udpipe',
['udpipe/udpipe.cpp', 'udpipe/udpipe_python.cpp'],
language = 'c++',
include_dirs = ['udpipe/include'],
Expand Down

0 comments on commit 3aa18e6

Please sign in to comment.