-
Notifications
You must be signed in to change notification settings - Fork 78
/
setup.py
71 lines (55 loc) · 1.94 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
63
64
65
66
67
68
69
70
71
"""ShivyC installation script."""
from codecs import open
from os import path
from setuptools import find_packages, setup
import shivyc
f"ShivyC only supports Python 3.6 or later" # f-str is Syntax Err before Py3.6
VERSION = str(shivyc.__version__)
DOWNLOAD_URL = ('https://github.com/ShivamSarodia/ShivyC/archive/'
f'{VERSION}.tar.gz')
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='shivyc',
version=VERSION,
description='A C compiler written in Python',
long_description=long_description,
long_description_content_type='text/markdown',
# The project's main homepage.
url='https://github.com/ShivamSarodia/ShivyC',
# Author details
author='Shivam Sarodia',
author_email='[email protected]',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: C',
'Topic :: Software Development',
'Topic :: Software Development :: Compilers',
'Topic :: Software Development :: Code Generators',
'Topic :: Software Development :: Build Tools',
'Intended Audience :: Developers',
'Intended Audience :: Education',
],
keywords='shivyc compiler c programming parsing',
packages=find_packages(exclude=['tests']),
install_requires=[],
package_data={
'shivyc': ['include/*.h'],
},
entry_points={
'console_scripts': [
'shivyc=shivyc.main:main',
],
},
download_url=DOWNLOAD_URL
)