-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
61 lines (54 loc) · 2.13 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
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
import os
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def get_version(rel_path):
for line in read(rel_path).splitlines():
if line.startswith("__version__"):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
raise RuntimeError("Unable to find version string.")
setup(
name="comb_spec_searcher",
version=get_version("comb_spec_searcher/__init__.py"),
author="Permuta Triangle",
author_email="permutatriangle@gmail.com",
description="A library for performing combinatorial exploration.",
license="BSD-3",
keywords="enumerative combinatorics combinatorial specification counting",
url="https://github.com/PermutaTriangle/comb_spec_searcher",
project_urls={
"Source": "https://github.com/PermutaTriangle/comb_spec_searcher",
"Tracker": ("https://github.com/PermutaTriangle/comb_spec_searcher" "/issues"),
},
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_data={"comb_spec_searcher": ["py.typed"]},
long_description=read("README.rst"),
python_requires=">=3.8",
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Education",
"Topic :: Scientific/Engineering :: Mathematics",
],
install_requires=[
"logzero==1.7.0",
"sympy==1.10.1",
"psutil==5.9.4",
"pympler==1.0.1",
"requests==2.31.0",
"typing-extensions==4.4.0",
"tabulate==0.9.0",
],
)