Skip to content

Commit

Permalink
Merge pull request #71 from oscarbenjamin/pr_sdist
Browse files Browse the repository at this point in the history
Include files in sdist and bump version to 0.4.4
  • Loading branch information
oscarbenjamin authored Sep 7, 2023
2 parents dcfe42b + c7dfef7 commit 24267a5
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 13 deletions.
7 changes: 2 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
include LICENSE
include CHANGES
include README
include src/flint/*.pxd
include src/flint/*.pyx
include src/flint/*.py
include test/*.py
include README.md
recursive-include src/flint *.pxd *.pyx *.py
include doc/source/*.py
include doc/source/*.rst
include doc/Makefile
4 changes: 2 additions & 2 deletions bin/build_mingw64_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fi
PYTHON=$PYTHONDIR/python
VER="${PYTHONVER//./}"

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

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

Expand Down Expand Up @@ -90,7 +90,7 @@ wheel pack python_flint-*
cd ..

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

# Make a virtual enironment to test the wheel
Expand Down
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
# built documents.
#
# The short X.Y version.
version = '0.4.3'
version = '0.4.4'
# The full version, including alpha/beta/rc tags.
release = '0.4.3'
release = '0.4.4'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
14 changes: 12 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@
compiler_directives['linetrace'] = True


packages=[
'flint',
'flint.flintlib',
'flint.flint_base',
'flint.types',
'flint.utils',
'flint.test',
]


ext_files = [
# ("flint._flint", ["src/flint/_flint.pxd"]), # Main Module
("flint.pyflint", ["src/flint/pyflint.pyx"]), # Main Module
Expand Down Expand Up @@ -115,12 +125,12 @@
cmdclass={'build_ext': build_ext},
ext_modules=cythonize(ext_modules, compiler_directives=compiler_directives),
#ext_modules=cythonize(ext_modules, compiler_directives=compiler_directives, annotate=True),
packages=['flint', 'flint.test'],
packages=packages,
package_dir={'': 'src'},
description='Bindings for FLINT and Arb',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
version='0.4.3',
version='0.4.4',
url='https://github.com/flintlib/python-flint',
author='Fredrik Johansson',
author_email='[email protected]',
Expand Down
2 changes: 1 addition & 1 deletion src/flint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
from .types.acb_series import *
from .types.fmpz_mpoly import *

__version__ = '0.4.3'
__version__ = '0.4.4'
2 changes: 1 addition & 1 deletion src/flint/test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def raises(f, exception):

def test_pyflint():

assert flint.__version__ == "0.4.3"
assert flint.__version__ == "0.4.4"

ctx = flint.ctx
assert str(ctx) == repr(ctx) == _default_ctx_string
Expand Down

0 comments on commit 24267a5

Please sign in to comment.