-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
60 lines (52 loc) · 1.8 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
58
59
60
#!/usr/bin/env python
from glob import glob
from setuptools import setup, find_packages
def parse_requirements(filename):
with open(filename, "r") as f:
for line in f:
if line and line[:2] not in ("#", "-e"):
yield line.strip()
setup(
name="kermit",
description="Fork of the PyPy example interpreter",
long_description=open("README.rst", "r").read(),
author="James Mills",
author_email="James Mills, prologic at shortcircuit dot net dot au",
url="https://bitbucket.org/prologic/kermit",
download_url="https://bitbucket.org/prologic/kermit/downloads",
classifiers=[
"Development Status :: 1 - Alpha",
"Environment :: No Input/Output (Daemon)",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Assemblers",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Compilers",
"Topic :: Software Development :: Debuggers",
"Topic :: Software Development :: Interpreters",
],
license="MIT",
keywords="pypy rpython example interpreter kermit",
platforms="POSIX",
packages=find_packages("."),
include_package_data=True,
install_requires=list(parse_requirements("requirements.txt")),
scripts=glob("tools/*"),
entry_points={
"console_scripts": [
"kermit=kermit.main:entrypoint",
]
},
test_suite="tests.main.main",
zip_safe=False,
use_scm_version={
"write_to": "kermit/version.py",
},
setup_requires=[
"setuptools_scm"
],
)