Skip to content

Commit

Permalink
Merge pull request #3 from pypr/add-pyproject
Browse files Browse the repository at this point in the history
Add pyproject.toml and cleanup setup.
  • Loading branch information
prabhuramachandran committed Mar 30, 2019
2 parents f8848e0 + e8d6145 commit 152f61d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
@@ -1,4 +1,4 @@
include MANIFEST.in *.py *.rst *.yml *.sh *.txt
include MANIFEST.in *.py *.rst *.yml *.sh *.txt *.toml
recursive-exclude pyzoltan *.cpp
recursive-include pyzoltan *.pxd *.h *.txt
recursive-include docs *.*
3 changes: 3 additions & 0 deletions pyproject.toml
@@ -0,0 +1,3 @@
[build-system]
requires = ['cyarray', 'Cython>=0.20', 'mpi4py>=1.2', 'numpy', 'setuptools',
'wheel']
10 changes: 8 additions & 2 deletions setup.py
Expand Up @@ -271,9 +271,10 @@ def setup_package():

# The requirements.
install_requires = [
'cyarray', 'numpy', 'Cython>=0.20', 'setuptools>=6.0', 'mpi4py>=1.2',
'pytest>=3.0'
'cyarray', 'numpy', 'Cython>=0.20', 'setuptools>=6.0', 'mpi4py>=1.2'
]
tests_require = ["pytest>=3.0"]
docs_require = ["sphinx"]

ext_modules = get_parallel_extensions()
if MODE != 'info' and _is_cythonize_default():
Expand Down Expand Up @@ -320,6 +321,11 @@ def setup_package():
include_package_data=True,
cmdclass=cmdclass,
install_requires=install_requires,
extras_require={
"docs": docs_require,
"tests": tests_require,
"dev": docs_require + tests_require,
},
zip_safe=False,
platforms=['Linux', 'Mac OS-X', 'Unix', 'Windows'],
classifiers=[c.strip() for c in """\
Expand Down

0 comments on commit 152f61d

Please sign in to comment.