-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
57 lines (45 loc) · 1.33 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
import subprocess
from os import path
from setuptools import setup
from setuptools.command.install import install
here = path.abspath(path.dirname(__file__))
with open('README.rst') as f:
readme = f.read()
class MyInstall(install):
def run(self):
try:
pass
except Exception as e:
print(e)
exit(1)
else:
install.run(self)
bbc1_requires = [
'py-bbclib>=1.6'
]
bbc1_packages = [
'bbc1',
'bbc1.lib'
]
bbc1_commands = []
bbc1_classifiers = [
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development'
]
setup(
name='bbc1-lib-tickets',
version='0.4',
description='General Ticket library of Beyond Blockchain One',
long_description=readme,
url='https://github.com/beyond-blockchain',
author='beyond-blockchain.org',
author_email='bbc1-dev@beyond-blockchain.org',
license='Apache License 2.0',
classifiers=bbc1_classifiers,
cmdclass={'install': MyInstall},
packages=bbc1_packages,
scripts=bbc1_commands,
install_requires=bbc1_requires,
zip_safe=False)