From 4eb2ab3b717806e55b2ef8b7f790e1d0170b3a60 Mon Sep 17 00:00:00 2001 From: Jeremy Magland Date: Tue, 31 Oct 2023 09:35:28 -0400 Subject: [PATCH] revert to setup.py for now --- python/pyproject.toml | 45 ------------------------------------------- python/setup.py | 41 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 45 deletions(-) delete mode 100644 python/pyproject.toml create mode 100644 python/setup.py diff --git a/python/pyproject.toml b/python/pyproject.toml deleted file mode 100644 index cc4905d..0000000 --- a/python/pyproject.toml +++ /dev/null @@ -1,45 +0,0 @@ -[build-system] -requires = ["setuptools"] -build-backend = "setuptools.build_meta" - -[project] -name = "dendro" -version = "0.1.3" -description = "Web framework for neurophysiology data analysis" -authors = [ - { name = "Jeremy Magland", email = "jmagland@flatironinstitute.org" }, - { name = "Luiz Tauffer", email = "luiz@taufferconsulting.com" } -] -license = { file = "LICENSE" } -dependencies = [ - "click", - "simplejson", - "numpy", - "PyYAML", - "remfile", - "pydantic", - "cryptography", - "h5py", - "requests" -] - -[tool.setuptools.packages.find] -where = [""] - -[project.urls] -repository = "https://github.com/flatironinstitute/dendro" - -[project.scripts] -dendro = "dendro.cli:main" - -[project.optional-dependencies] -compute_resource = [ - "pubnub>=7.2.0", -] -api = [ - "fastapi", - "motor", - "simplejson", - "pydantic", - "aiohttp" -] \ No newline at end of file diff --git a/python/setup.py b/python/setup.py new file mode 100644 index 0000000..1571459 --- /dev/null +++ b/python/setup.py @@ -0,0 +1,41 @@ +from setuptools import setup, find_packages + +__version__ = '0.1.3' + +setup( + name='dendro', + version=__version__, + author="Jeremy Magland, Luiz Tauffer", + author_email="jmagland@flatironinstitute.org", + url="https://github.com/flatironinstitute/dendro", + description="Web framework for neurophysiology data analysis", + packages=find_packages(include=['dendro']), + include_package_data=True, + install_requires=[ + 'click', + 'simplejson', + 'numpy', + 'PyYAML', + 'remfile', + 'pydantic', + 'cryptography', + 'h5py>=3.10.0' + ], + extras_require={ + 'compute_resource': [ + 'pubnub>=7.2.0' + ], + 'api': [ + 'fastapi', + 'motor', + 'simplejson', + 'pydantic', + 'aiohttp' + ] + }, + entry_points={ + "console_scripts": [ + "dendro=dendro.cli:main", + ], + } +)