-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·44 lines (40 loc) · 1.36 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
import os
import sys
import hitbasic
DESCRIPTION = 'PEG parser transforms Visual Basic-style language into MSX-BASIC'
readme = open('README.md').read()
version = hitbasic.__version__
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
print("You probably want to also tag the version now:")
print(" git tag -a %s -m 'version %s'" % (version, version))
print(" git push --tags")
sys.exit()
# Setting up
setup(
# the name must match the folder name 'verysimplemodule'
name='hitbasic',
version=version,
author='Pedro de Medeiros',
author_email='<[email protected]>',
url='https://github.com/pvmm/hitbasic',
license='BSD',
description=DESCRIPTION,
long_description=readme,
packages=find_packages(),
install_requires=['Arpeggio==1.9.2', 'mock==4.0.2'],
scripts=['bin/hb'],
keywords=['msx', 'basic', 'visual basic', 'old school', 'retro', '8bit'],
tests_require=['tox'],
classifiers= [
'Development Status :: 3 - Alpha',
'Programming Language :: Basic',
'Programming Language :: Visual Basic'
'Environment :: Console',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Code Generators',
],
)