diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..40d24fc --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,38 @@ +[build-system] +requires = ["setuptools>=61.2"] +build-backend = "setuptools.build_meta" + +[project] +name = "spikexplore" +version = "0.2.0" +authors = [ + {name = "Nicolas Aspert", email = "nicolas.aspert@epfl.ch"}, + {name = "Benjamin Ricaud", email = "benjamin.ricaud@uit.no"}, +] +license = {text = "Apache license"} +description = "Graph exploration using inhomogeneous filtered diffusion" +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: Apache License", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.8", +] +urls = {Homepage = "https://gitlab.switch.ch/imi-sad/spikexplore"} +requires-python = ">=3.8" +dependencies = [ + "pandas", + "numpy", + "networkx", + "tqdm", + "atproto", + "wikipedia-api", + "python-louvain", +] + +[tool.setuptools] +packages = ["spikexplore", "spikexplore.backends"] +script-files = [] +include-package-data = false diff --git a/setup.py b/setup.py deleted file mode 100644 index 57387b7..0000000 --- a/setup.py +++ /dev/null @@ -1,24 +0,0 @@ -from setuptools import setup - -setup( - name="spikexplore", - version="0.1.0", - description="Graph exploration using inhomogeneous filtered diffusion", - url="https://github.com/epfl-lts2/spikexplore", - author="Nicolas Aspert, Benjamin Ricaud", - author_email="nicolas.aspert@epfl.ch, benjamin.ricaud@epfl.ch", - license="Apache license", - packages=["spikexplore", "spikexplore.backends"], - scripts=[], - install_requires=["pandas", "numpy", "networkx", "tqdm", "wikipedia-api", "python-louvain"], - python_requires=">=3.8", - classifiers=[ - "Development Status :: 4 - Beta", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: Apache License", - "Operating System :: POSIX :: Linux", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.8", - ], -)