-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
47 lines (41 loc) · 1.33 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
# -*- coding: utf-8 -*-
#
import os
import codecs
from setuptools import setup, find_packages
# https://packaging.python.org/single_source_version/
base_dir = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(base_dir, "tspsolve", "__about__.py"), "rb") as f:
exec(f.read(), about)
def read(fname):
return codecs.open(os.path.join(base_dir, fname), encoding="utf-8").read()
setup(
name="tspsolve",
version=about["__version__"],
packages=find_packages(),
url="https://github.com/nschloe/tspsolve",
author=about["__author__"],
author_email=about["__email__"],
install_requires=["numpy"],
description="Python project scaffold",
long_description=read("README.md"),
long_description_content_type="text/markdown",
license=about["__license__"],
classifiers=[
about["__license__"],
about["__status__"],
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
],
entry_points={
"console_scripts": [
"tspsolve-image = tspsolve.cli:image",
"tspsolve-poly = tspsolve.cli:poly",
]
},
)