-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·57 lines (51 loc) · 1.73 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
#!/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')
readme_txt = readme()
setuptools.setup(
name='hexlite',
version='1.4.1',
description='Hexlite - Solver for a fragment of HEX',
long_description=readme_txt,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3',
'Programming Language :: Java',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'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 Schueller',
author_email='[email protected]',
license='MIT License',
packages=['hexlite', 'hexlite.ast', 'dlvhex', 'acthex'],
install_requires=[
'ply==3.11',
'clingo==5.5.0.post3',
'jpype1==1.2.1'
],
entry_points={
'console_scripts': [
'hexlite=hexlite.main:main',
'acthex=acthex.main:main',
],
},
zip_safe=False)