-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move more metadata into pyproject.toml (#46)
- Loading branch information
Showing
2 changed files
with
10 additions
and
32 deletions.
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,11 +1,13 @@ | ||
[project] | ||
name = "thunor" | ||
dynamic = ["version", "dependencies"] | ||
dynamic = ["version"] | ||
description = "Dose response curve and drug induced proliferation (DIP) rate fits and visualisation" | ||
authors = [ | ||
{name = "Alex Lubbock", email = "[email protected]"}, | ||
] | ||
requires-python = ">=3.10" | ||
dependencies = ['numpy', 'scipy', 'pandas', 'plotly', 'seaborn', | ||
'tables'] | ||
readme = "README.md" | ||
license = {text = "GPL-3.0-only"} | ||
classifiers = [ | ||
|
@@ -16,11 +18,17 @@ classifiers = [ | |
"Topic :: Scientific/Engineering :: Medical Science Apps.", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = ['pytest', 'nbval', 'django', 'nbformat', 'flake8', | ||
'codecov', 'pytest-cov'] | ||
docs = ['sphinx', 'sphinx-rtd-theme', 'mock', 'nbsphinx', | ||
'ipykernel'] | ||
|
||
[project.urls] | ||
Homepage = "https://www.thunor.net" | ||
|
||
[build-system] | ||
requires = ["setuptools", "versioneer-518"] | ||
requires = ["setuptools", "versioneer"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.flake8] | ||
|
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,42 +1,12 @@ | ||
from setuptools import setup | ||
import versioneer | ||
import os | ||
|
||
|
||
def main(): | ||
this_directory = os.path.abspath(os.path.dirname(__file__)) | ||
with open(os.path.join(this_directory, 'README.md'), 'r') as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name='thunor', | ||
version=versioneer.get_version(), | ||
description='Dose response curve and drug induced proliferation ' | ||
'(DIP) rate fits and visualisation', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
author='Alex Lubbock', | ||
author_email='[email protected]', | ||
url='https://www.thunor.net', | ||
packages=['thunor', 'thunor.converters'], | ||
python_requires='>=3.10', | ||
install_requires=['numpy', 'scipy', 'pandas', 'plotly', 'seaborn', | ||
'tables'], | ||
extras_require={ | ||
'test': ['pytest', 'nbval', 'django', 'nbformat', 'flake8', | ||
'codecov', 'pytest-cov'], | ||
'docs': ['sphinx', 'sphinx-rtd-theme', 'mock', 'nbsphinx', | ||
'ipykernel'], | ||
}, | ||
cmdclass=versioneer.get_cmdclass(), | ||
zip_safe=True, | ||
classifiers=[ | ||
'Intended Audience :: Science/Research', | ||
'Programming Language :: Python', | ||
'Topic :: Scientific/Engineering :: Bio-Informatics', | ||
'Topic :: Scientific/Engineering :: Chemistry', | ||
'Topic :: Scientific/Engineering :: Medical Science Apps.', | ||
] | ||
) | ||
|
||
|
||
|