-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
40 lines (39 loc) · 1.27 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
from pathlib import Path
from setuptools import find_packages, setup
CURRENT_DIR = Path(__file__).parent
NAME = "cartesian"
DESCRIPTION = "Minimal cartesian genetic programming for symbolic regression."
URL = "https://github.com/ohjeah/cartesian"
EMAIL = "[email protected]"
AUTHOR = "Markus Quade"
PYTHON = ">=3.6"
LICENSE = "MIT"
CLASSIFIERS = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Mathematics",
]
with open(CURRENT_DIR / "requirements.txt", "r") as f:
REQUIRED = f.readlines()
with open(CURRENT_DIR / "README.rst", "r", encoding="utf8") as f:
LONG_DESCRIPTION = f.read()
setup(
name=NAME,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author=AUTHOR,
author_email=EMAIL,
url=URL,
packages=find_packages(exclude=["test", "example"]),
install_requires=REQUIRED,
python_requires=PYTHON,
use_scm_version=True,
setup_requires=["setuptools_scm", "setuptools_scm_git_archive"],
license=LICENSE,
classifiers=CLASSIFIERS,
)