-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (35 loc) · 1.01 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
from setuptools import setup, find_packages
MAJOR = 0
MINOR = 1
MICRO = 0
VERSION = '{}.{}.{}'.format(MAJOR, MINOR, MICRO)
def get_requirements():
with open('./requirements.txt', 'r') as f:
reqs = f.readlines()
return reqs
def setup_package():
excluded = []
package_data = {}
desc = """
Another Python bytecode interpreter implemented in Python for version >=
py34, with a few new features.
"""
metadata = dict(
name='bytefall',
version=VERSION,
description=desc,
author='Nale Raphael',
author_email='[email protected]',
url='https://github.com/naleraphael/bytefall',
packages=find_packages(exclude=excluded),
install_requires=get_requirements(),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
],
python_requires='>=3.4',
license='MIT',
)
setup(**metadata)
if __name__ == '__main__':
setup_package()