-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
85 lines (67 loc) · 2.47 KB
/
setup.py
File metadata and controls
85 lines (67 loc) · 2.47 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/usr/bin/env python3
################################### METADATA ###################################
# Contributors: roadelou
# Contacts:
# Creation Date: 2021-03-12
# Language: Python3
################################### IMPORTS ####################################
# Standard library
from setuptools import setup # Used to build the python package.
# External imports
# Your imports from other packages go here
# Internal imports
# Your imports within this package go here
################################### CLASSES ####################################
# Your classes go here
################################## FUNCTIONS ###################################
def main():
"""
Calls the setup function to define the python package.
"""
# Reading the long description from the README file.
with open("README.md", "r") as readme_file:
readme_content = readme_file.read()
setup(
name="roadelou-compass",
version="0.0.8",
author="roadelou",
author_email="",
packages=[
"compass",
"compass/ast",
"compass/ast/unary",
"compass/ast/binary",
"compass/codegen",
"compass/codegen/compass",
"compass/codegen/c",
"compass/codegen/header",
"compass/codegen/debug",
"compass/codegen/utils",
"compass/frontend",
"compass/grammar",
],
license="GPL3",
install_requires=["sly"],
python_requires=">=3.6",
entry_points="""
[console_scripts]
compass=compass.frontend:command_line
compass-builder=compass.frontend:compass_builder
""",
description="Simple synchronous programming language",
long_description=readme_content,
long_description_content_type="text/markdown",
url="https://github.com/roadelou/compass",
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Topic :: Software Development :: Compilers",
"Topic :: Software Development :: Code Generators",
"Topic :: System :: Hardware",
]
)
##################################### MAIN #####################################
if __name__ == "__main__":
# The code to run when this file is used as a script goes here
main()
##################################### EOF ######################################