-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup.py -> pyproject.toml #68
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pytest | ||
flake8 | ||
https://github.com/petab-dev/libpetab-python/archive/develop.zip | ||
sympy>=1.12.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
include petabtests/conversion.xml | ||
recursive-include petabtests/cases * | ||
recursive-exclude **/__pycache__ * | ||
exclude cases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,41 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "petabtests" | ||
dynamic = ["version"] | ||
description = "PEtab testsuite library" | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "Daniel Weindl", email = "[email protected]" }, | ||
{ name = "Yannik Schaelte", email = "[email protected]" }, | ||
] | ||
maintainers = [ | ||
{ name = "Daniel Weindl", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.10" | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
keywords = ["PEtab", "testsuite"] | ||
dependencies = [ | ||
"numpy>=1.22", | ||
"pandas>=2.0", | ||
"petab>=0.1.4", | ||
"pysb>=1.16.0", | ||
"simplesbml", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/PEtab-dev/petab_test_suite" | ||
|
||
[project.scripts] | ||
petabtests_create = "petabtests.core:create" | ||
petabtests_clear = "petabtests.core:clear" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,41 +18,9 @@ def read(fname): | |
exec(read(path.join(here, 'petabtests', 'version.py'))) | ||
|
||
setup( | ||
name='petabtests', | ||
version=__version__, # noqa: F821 | ||
description='PEtab testsuite library', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/PEtab-dev/petab_test_suite', | ||
author='PEtab-dev', | ||
author_email='[email protected]', | ||
maintainer='PEtab-dev', | ||
maintainer_email='[email protected]', | ||
# author_email='', | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: BSD License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
], | ||
keywords='PEtab testsuite', | ||
packages=find_namespace_packages(), | ||
install_requires=[ | ||
'numpy', | ||
'pandas', | ||
'petab>=0.1.4', | ||
'pysb', | ||
'simplesbml', | ||
], | ||
python_requires='>=3.10', | ||
entry_points={ | ||
'console_scripts': [ | ||
'petabtests_create = petabtests.core:create', | ||
'petabtests_clear = petabtests.core:clear', | ||
] | ||
}, | ||
include_package_data=True, | ||
) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can move this too I think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's possible, but this will require importing the package, which will require all module-level import dependencies to be installed in the temporary environment for building the sdist. Not sure it's worth it.
And it will require listing all those dependencies twice - for build + installation.