diff --git a/.ci_pip_reqs.txt b/.ci_pip_reqs.txt index a3c59e3..65e9674 100644 --- a/.ci_pip_reqs.txt +++ b/.ci_pip_reqs.txt @@ -1,3 +1,4 @@ pytest flake8 https://github.com/petab-dev/libpetab-python/archive/develop.zip +sympy>=1.12.1 diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index 51e443f..ddebb60 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -27,8 +27,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip wheel - pip install -r .ci_pip_reqs.txt pip install -e . + pip install -r .ci_pip_reqs.txt - name: Run tests run: | python -m flake8 \ diff --git a/MANIFEST.in b/MANIFEST.in index 4986c28..58059f7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,4 @@ include petabtests/conversion.xml recursive-include petabtests/cases * +recursive-exclude **/__pycache__ * +exclude cases diff --git a/pyproject.toml b/pyproject.toml index 9787c3b..89d2672 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "sci@danielweindl.de" }, + { name = "Yannik Schaelte", email = "yannik.schaelte@gmail.com" }, +] +maintainers = [ + { name = "Daniel Weindl", email = "sci@danielweindl.de" }, +] +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" diff --git a/setup.py b/setup.py index 5ca1b06..f4e5f62 100644 --- a/setup.py +++ b/setup.py @@ -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='yannik.schaelte@gmail.com', - maintainer='PEtab-dev', - maintainer_email='yannik.schaelte@gmail.com', - # 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, )