-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
33 lines (30 loc) · 1.02 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
# Parse the version from the module.
with open('lahc/__init__.py') as f:
for line in f:
if line.find("__version__") >= 0:
version = line.split("=")[1].strip()
version = version.strip('"')
version = version.strip("'")
break
with open('README.rst', 'r') as fin:
long_description = fin.read()
setup(
name='lahc',
version=version,
author='Gunnstein T. Frøseth',
author_email='gunnstein@mailbox.org',
description='Late Acceptance Hill Climbing in Python',
license='ISC',
long_description=long_description,
long_description_content_type="text/x-rst",
url='https://github.com/gunnstein/lahc',
packages=find_packages(exclude=["tests"]),
classifiers=[
"License :: OSI Approved :: ISC License (ISCL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
],
install_requires=[])