-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
50 lines (43 loc) · 1.36 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
import sys
from setuptools import setup, find_packages
def get_version(fname):
import re
verstrline = open(fname, "rt").read()
mo = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", verstrline, re.M)
if mo:
return mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (fname,))
setup(
name='PyLUAc',
version=get_version('pyluac/__init__.py'),
description=' Python to LUA transpiler',
author='Nickolas Grigoriadis',
author_email='nagrigoriadis@gmail.com',
url='https://github.com/grigi/PyLUAc',
#zip_safe=False,
test_suite='pyluac.test_suite',
# Dependencies
install_requires=[
'ply',
],
# Packages
packages=find_packages(),
#include_package_data=True,
# Scripts
#scripts=[],
# Classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)