-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
60 lines (56 loc) · 1.82 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
57
58
59
import os
from setuptools import setup, find_packages
from sys import argv
#from _version import __version__
__version__='1.0.1'
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
if '--version' in argv:
print(__version__)
else:
setup(
name = "setlr",
version = __version__,
author = "Jamie McCusker",
author_email = "[email protected]",
description = ("setlr is a tool for Semantic Extraction, Transformation, and Loading."),
license = "Apache License 2.0",
keywords = "rdf semantic etl",
url = "http://packages.python.org/setlr",
packages=['setlr'],
long_description='''SETLr is a tool for generating RDF graphs, including named graphs, from almost any kind of tabular data.''',
include_package_data = True,
install_requires = [
'future',
'pip>=9.0.0',
'cython',
'numpy',
'rdflib>=6.0.0',
'pandas>=0.23.0',
'requests',
'toposort',
'beautifulsoup4',
'jinja2',
'lxml',
'six',
'xlrd',
'ijson',
'click',
'tqdm',
'requests-testadapter',
'python-slugify',
'pyshacl[js]'
],
entry_points = {
'console_scripts': ['setlr=setlr:main'],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Utilities",
"License :: OSI Approved :: Apache Software License",
],
)