-
Notifications
You must be signed in to change notification settings - Fork 72
/
setup.py
27 lines (22 loc) · 865 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
import os
import uuid
from pip.req import parse_requirements
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
install_reqs = parse_requirements(os.path.join(here, 'requirements.txt'), session=uuid.uuid1())
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-schema',
version='2.1.4',
description='Blockchain certificates JSON-LD context and JSON schemas',
author='info@blockcerts.org',
url='https://github.com/blockchain-certificates/cert-schema',
license='MIT',
author_email='info@blockcerts.org',
long_description=long_description,
packages=find_packages(),
package_data={"cert_schema": ["1.1/*.json", "1.2/*.json", "2.0-alpha/*.json", "2.0/*.json"]},
install_requires=reqs
)