-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsetup.py
55 lines (49 loc) · 1.69 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
# -*- coding: utf-8 -*-
"""
hcls_fhir_rdf
====
Tools for RDF representations for FHIR
"""
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# typing library was introduced as a core module in version 3.5.0
if sys.version_info < (3, 5):
v34_requires = ["typing"]
else:
v34_requires = []
sys.path.append(os.path.join(os.path.dirname(__file__), 'hcls_fhir_rdf'))
import hcls_fhir_rdf
long_description = """Tools for RDF representations for FHIR"""
setup(
name='hcls_fhir_rdf',
provides=['hcls_fhir_rdf'],
version=hcls_fhir_rdf.__version__,
description='FHIR to RDF conversion tools',
long_description=long_description,
author='Harold Solbrig',
author_email='[email protected]',
url='http://github.com/w3c/hcls-fhir-rdf',
packages=['hcls_fhir_rdf'],
scripts=['scripts/download_fhir_spec', 'scripts/generate_shex', 'scripts/generate_xml_definitions',
'scripts/generate_rdf'],
data_files=[('share/xsl', ['share/xsl/transform.xsl'])],
license='BSD 3-Clause license',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
],
install_requires=['dirlistproc', 'requests', 'jsonasobj', 'rdflib', 'rdflib_jsonld', 'pyjxslt'] + v34_requires,
)