forked from lccasagrande/TSP-GA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·27 lines (21 loc) · 859 Bytes
/
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
import sys
from setuptools import find_packages, setup
CURRENT_PYTHON = sys.version_info.major
REQUIRED_PYTHON = 3
# This check and everything above must remain compatible with Python 2.7.
if CURRENT_PYTHON < REQUIRED_PYTHON:
sys.stderr.write("""
==========================
Unsupported Python version
==========================
This project requires Python {}.{}, but you're trying to install it on Python {}.{}.
""".format(*(REQUIRED_PYTHON + CURRENT_PYTHON)))
sys.exit(1)
setup(name='TSP-GA'
, version=0.1
, python_requires='>={}'.format(REQUIRED_PYTHON)
, author='lccasagrande'
, description=('A Genetic Algorithm for the Travelling Salesman Problem')
, packages=find_packages()
, include_package_data=True
, install_requires=['haversine','pandas', 'basemap', 'matplotlib'])