forked from digitalbazaar/pyld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (55 loc) · 1.49 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
60
61
# -*- coding: utf-8 -*-
"""
PyLD
====
PyLD_ is a Python JSON-LD_ library.
.. _PyLD: https://github.com/digitalbazaar/pyld
.. _JSON-LD: https://json-ld.org/
"""
from distutils.core import setup
import os
# get meta data
about = {}
with open(os.path.join(
os.path.dirname(__file__), 'lib', 'pyld', '__about__.py')) as fp:
exec(fp.read(), about)
with open('README.rst') as fp:
long_description = fp.read()
setup(
name='PyLD',
version=about['__version__'],
description='Python implementation of the JSON-LD API',
long_description=long_description,
author='Digital Bazaar',
author_email='[email protected]',
url='https://github.com/digitalbazaar/pyld',
packages=[
'c14n',
'pyld',
'pyld.documentloader',
],
package_dir={'': 'lib'},
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',
],
install_requires=[
'cachetools',
'frozendict',
'lxml',
],
extras_require={
'requests': ['requests'],
'aiohttp': ['aiohttp'],
'cachetools': ['cachetools'],
'frozendict': ['frozendict'],
}
)