-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
62 lines (59 loc) · 2.89 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
61
62
from setuptools import setup
import boson.configure as configure
install_requires = [
'jinja2>=2.7',
]
if __name__ == '__main__':
setup(
name=configure.boson_package_name,
version=f'{configure.boson_version_major}.{configure.boson_version_minor}',
url=configure.boson_url,
license=configure.boson_license,
author=configure.boson_author,
author_email=configure.boson_email,
maintainer=configure.boson_author,
maintainer_email=configure.boson_email,
description=configure.boson_description,
long_description=f'{configure.boson_title} - {configure.boson_description}',
platforms=[
'MS Windows',
'Mac X',
'Unix/Linux'
],
keywords=[configure.boson_package_name, configure.boson_description],
packages=[
configure.boson_package_name,
configure.boson_package_name + '.system',
configure.boson_package_name + '.binary_generator',
configure.boson_package_name + '.boson_script',
configure.boson_package_name + '.boson_script.boson_script_parser',
configure.boson_package_name + '.code_generator',
configure.boson_package_name + '.lexer_generator',
configure.boson_package_name + '.lexer_generator.regular_parser',
configure.boson_package_name + '.parser_generator',
configure.boson_package_name + '.parser_generator.bottom_up_generator',
],
package_data={configure.boson_package_name: [
f'{configure.boson_template_directory}/integration/python/*{configure.boson_template_postfix}',
f'{configure.boson_template_directory}/integration/python/checker/*{configure.boson_template_postfix}',
f'{configure.boson_template_directory}/integration/c++/*{configure.boson_template_postfix}',
f'{configure.boson_template_directory}/integration/c++/checker/*{configure.boson_template_postfix}',
f'{configure.boson_template_directory}/integration/java/*{configure.boson_template_postfix}',
f'{configure.boson_template_directory}/integration/java/checker/*{configure.boson_template_postfix}',
f'{configure.boson_template_directory}/integration/javascript/*{configure.boson_template_postfix}',
f'{configure.boson_template_directory}/integration/javascript/checker/*{configure.boson_template_postfix}',
]},
install_requires=install_requires,
entry_points={
'console_scripts': ['boson = boson.console:console_main']
},
classifiers=[
'Natural Language :: English',
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3'
],
zip_safe=False
)