-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (27 loc) · 859 Bytes
/
setup.py
File metadata and controls
29 lines (27 loc) · 859 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
28
29
from setuptools import setup, find_packages
import os
import subprocess
from setuptools.command.install import install
class CustomInstall(install):
def run(self):
# Build the C++ compiler during install
compiler_dir = os.path.join(os.getcwd(), 'xbasic', 'compiler')
subprocess.check_call(['make', '-C', os.path.dirname(compiler_dir)])
install.run(self)
setup(
name="xbasic-8bit",
version="2.0.1",
packages=find_packages(),
include_package_data=True,
install_requires=[],
entry_points={
'console_scripts': [
'xbasic=xbasic.cli:main',
],
},
author='Vivek Dagar',
author_email='vivekdagar@zohomail.in',
description='XBasic — a compiled BASIC language targeting a custom 8-bit CPU.',
url='https://github.com/alwaysvivek/xbasic',
license='MIT',
)