Skip to content

Commit 24267a5

Browse files
Merge pull request #71 from oscarbenjamin/pr_sdist
Include files in sdist and bump version to 0.4.4
2 parents dcfe42b + c7dfef7 commit 24267a5

File tree

6 files changed

+20
-13
lines changed

6 files changed

+20
-13
lines changed

MANIFEST.in

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
include LICENSE
22
include CHANGES
3-
include README
4-
include src/flint/*.pxd
5-
include src/flint/*.pyx
6-
include src/flint/*.py
7-
include test/*.py
3+
include README.md
4+
recursive-include src/flint *.pxd *.pyx *.py
85
include doc/source/*.py
96
include doc/source/*.rst
107
include doc/Makefile

bin/build_mingw64_wheel.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fi
4444
PYTHON=$PYTHONDIR/python
4545
VER="${PYTHONVER//./}"
4646

47-
WHEELNAME=python_flint-0.4.3-cp$VER-cp$VER-win_amd64.whl
47+
WHEELNAME=python_flint-0.4.4-cp$VER-cp$VER-win_amd64.whl
4848

4949
$PYTHON -c 'print("hello world")'
5050

@@ -90,7 +90,7 @@ wheel pack python_flint-*
9090
cd ..
9191

9292
# Make the wheel relocatable
93-
delvewheel repair dist/python_flint-0.4.3-cp$VER-cp$VER-win_amd64.whl \
93+
delvewheel repair dist/python_flint-0.4.4-cp$VER-cp$VER-win_amd64.whl \
9494
--add-path .local/bin:.local/lib/
9595

9696
# Make a virtual enironment to test the wheel

doc/source/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
# built documents.
5252
#
5353
# The short X.Y version.
54-
version = '0.4.3'
54+
version = '0.4.4'
5555
# The full version, including alpha/beta/rc tags.
56-
release = '0.4.3'
56+
release = '0.4.4'
5757

5858
# The language for content autogenerated by Sphinx. Refer to documentation
5959
# for a list of supported languages.

setup.py

+12-2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@
6363
compiler_directives['linetrace'] = True
6464

6565

66+
packages=[
67+
'flint',
68+
'flint.flintlib',
69+
'flint.flint_base',
70+
'flint.types',
71+
'flint.utils',
72+
'flint.test',
73+
]
74+
75+
6676
ext_files = [
6777
# ("flint._flint", ["src/flint/_flint.pxd"]), # Main Module
6878
("flint.pyflint", ["src/flint/pyflint.pyx"]), # Main Module
@@ -115,12 +125,12 @@
115125
cmdclass={'build_ext': build_ext},
116126
ext_modules=cythonize(ext_modules, compiler_directives=compiler_directives),
117127
#ext_modules=cythonize(ext_modules, compiler_directives=compiler_directives, annotate=True),
118-
packages=['flint', 'flint.test'],
128+
packages=packages,
119129
package_dir={'': 'src'},
120130
description='Bindings for FLINT and Arb',
121131
long_description=open('README.md').read(),
122132
long_description_content_type='text/markdown',
123-
version='0.4.3',
133+
version='0.4.4',
124134
url='https://github.com/flintlib/python-flint',
125135
author='Fredrik Johansson',
126136
author_email='[email protected]',

src/flint/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
from .types.acb_series import *
2323
from .types.fmpz_mpoly import *
2424

25-
__version__ = '0.4.3'
25+
__version__ = '0.4.4'

src/flint/test/test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def raises(f, exception):
3030

3131
def test_pyflint():
3232

33-
assert flint.__version__ == "0.4.3"
33+
assert flint.__version__ == "0.4.4"
3434

3535
ctx = flint.ctx
3636
assert str(ctx) == repr(ctx) == _default_ctx_string

0 commit comments

Comments
 (0)