-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (22 loc) · 828 Bytes
/
setup.py
File metadata and controls
27 lines (22 loc) · 828 Bytes
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
import os
dir = os.getcwd()
os.chdir(dir + "/TopCompiler/TopRuntime")
from importlib import util
spec = util.spec_from_file_location("runtimebuild.py", dir + "/bin/runtimebuild.py")
foo = util.module_from_spec(spec)
spec.loader.exec_module(foo)
os.chdir(dir)
from setuptools import setup
setup(name='TopCCompiler',
version='0.1',
description='Compiler for Top programming language',
url='https://github.com/CodeClubLux/TopCCompiler',
author='CompilerLuke',
author_email="lgoetz@islux.lu",
scripts= ["bin/topc", "bin/topdev", "bin/port.py", "bin/port", "bin/topr", "bin/topc.py", "bin/topr.py", "bin/topdev.py"],
license='MIT',
zip_safe=False,
packages= ["TopCompiler","AST", "optimization","PostProcessing"],
install_requires=[],
include_package_data=True
)