forked from Ohjeah/sparsereg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (42 loc) · 1.32 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
47
48
49
import sys
assert sys.version_info >= (3, 6, 0), "sparsereg requires Python 3.6+"
import pathlib
import versioneer
from setuptools import find_packages, setup
NAME = "sparsereg"
DESCRIPTION = "Modern sparse linear regression"
URL = "https://github.com/ohjeah/sparsereg"
EMAIL = "[email protected]"
AUTHOR = "Markus Quade"
PYTHON = ">=3.6"
LICENSE = "MIT"
CLASSIFIERS = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Topic :: Scientific/Engineering :: Mathematics",
]
here = pathlib.Path(__file__).parent
with open(here / "requirements.txt", "r") as f:
REQUIRED = f.readlines()
with open(here / "README.md", "r") as f:
LONG_DESCRIPTION = f.read()
setup(
name=NAME,
version=versioneer.get_version(),
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author=AUTHOR,
author_email=EMAIL,
url=URL,
packages=find_packages(exclude=["test", "example"]),
install_requires=REQUIRED,
python_requires=PYTHON,
license=LICENSE,
classifiers=CLASSIFIERS,
cmdclass=versioneer.get_cmdclass(),
)