forked from blockchain-certificates/cert-issuer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (27 loc) · 925 Bytes
/
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
import os
from pip.req import parse_requirements
from setuptools import setup, find_packages
from cert_issuer import __version__
here = os.path.abspath(os.path.dirname(__file__))
install_reqs = parse_requirements('requirements.txt', session=False)
reqs = [str(ir.req) for ir in install_reqs]
with open(os.path.join(here, 'README.md')) as fp:
long_description = fp.read()
setup(
name='cert-issuer',
version=__version__,
url='https://github.com/blockchain-certificates/cert-issuer',
license='MIT',
author='Blockcerts',
author_email='[email protected]',
description='Issues blockchain certificates using the Bitcoin blockchain',
long_description=long_description,
packages=find_packages(),
include_package_data=True,
install_requires=reqs,
entry_points={
'console_scripts': [
'cert-issuer = cert_issuer.__main__:cert_issuer_main',
]
}
)