forked from hexhex/hexlite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·44 lines (40 loc) · 1.44 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
#!/usr/bin/env python3
import sys
import platform
import setuptools
if platform.python_version().startswith('2'):
sys.stdout.write("Please use Python 3 instead of Python 2!\n")
sys.exit(-1)
def readme():
with open('README', 'wb') as of:
with open('README.md', 'rb') as i:
out = b''.join([ line for line in i if not line.startswith(b'[')])
of.write(out)
return out.decode('utf8')
setuptools.setup(name='hexlite',
version='0.3.20',
description='HEXLite Python-based solver for a fragment of HEX',
long_description=readme(),
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Utilities',
],
url='https://github.com/hexhex/hexlite',
author='Peter Schuller',
author_email='[email protected]',
license='GPL3',
packages=['hexlite', 'hexlite.ast', 'dlvhex'],
install_requires=[
'ply',
],
scripts=['bin/hexlite'],
zip_safe=False)