-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
46 lines (43 loc) · 2.1 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import pathlib
from setuptools import find_packages, setup
here = pathlib.Path(__file__).parent.resolve()
setup(
# This is the name of your project as to be published at PyPI: https://pypi.org/project/sampleproject/
name="ndc", # https://packaging.python.org/specifications/core-metadata/#name
version="1.0", # https://www.python.org/dev/peps/pep-0440/
description="Numerical differentiation leveraging convolutions based on PyTorch",
long_description=(here / "README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
url="https://github.com/famura/ndc",
author="Fabio Muratore",
author_email="[email protected]",
classifiers=[ # list of valid classifiers, see https://pypi.org/classifiers/
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3 :: Only",
],
keywords="numerical differentiation, finite differences, convolution, signal processing",
packages=find_packages(include=["ndc"], exclude=["tests"]),
python_requires=">=3.6, <4",
# List mandatory groups of dependencies, installed via `pip install -e .[dev]`
install_requires=[
"torch",
], # https://packaging.python.org/en/latest/requirements.html
# List additional groups of dependencies, installed via `pip install -e .[dev]`
extras_require={
"dev": ["black", "isort", "matplotlib", "pytest", "pytest-cov"],
},
project_urls={
"Source": "https://github.com/famura/ndc",
"Bug Reports": "https://github.com/famura/ndc/issues",
# 'Funding': 'https://donate.pypi.org',
},
# Data files outside of the package http://docs.python.org/distutils/setupscript.html#installing-additional-files
# data_files=[('my_data', ['data/data_file'])],
)