-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·76 lines (71 loc) · 2.24 KB
/
setup.py
File metadata and controls
executable file
·76 lines (71 loc) · 2.24 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
from setuptools import find_packages
from setuptools import setup
with open('gitenberg/__init__.py', 'r') as fd:
reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]')
for line in fd:
m = reg.match(line)
if m:
__version__ = m.group(1)
break
setup(name='gitberg',
version=__version__,
description="A library and command for interacting with the GITenberg books project",
long_description=open('README.md').read(),
license=open('./LICENSE').read(),
author='Seth Woodworth',
author_email='[email protected]',
url='https://github.com/gitenberg-dev/gitberg',
packages=['gitenberg', 'gitenberg.gitenberg', 'gitenberg.metadata', 'gitenberg.tests', 'gitenberg.util'],
include_package_data=True,
scripts=['bin/gitberg'],
setup_requires=[
'sh>=1',
],
install_requires=[
'requests>=2.7',
'uritemplate.py==0.3.0',
'github3.py>=0.9.0',
'GitPython>=2.0.0',
'docopt>=0.6',
'sh>=1',
'Jinja2>=2.7',
'semver==2.2.0',
'tox==2.1.1',
'appdirs==1.4.0',
'beautifulsoup4==4.4.1',
'wikipedia==1.4.0',
'six==1.10.0',
'pymarc==3.0.3',
'PyYAML==3.11',
'SPARQLWrapper==1.6.4',
'html5lib==0.999999',
'isodate==0.5.1',
'pyparsing==2.1.10',
'rdflib==4.2.0',
'rdflib-jsonld==0.3',
'mock==2.0.0',
'cffi==1.9.1',
'cairocffi==0.8.0',
'pycparser==2.17',
'cryptography==1.7.2',
'pyepub',
],
test_suite='nose.collector',
tests_require=[
'nose',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3.4',
],
keywords="books ebooks gitenberg gutenberg epub metadata",
dependency_links=[
"https://github.com/Gluejar/pyepub/archive/master.zip#egg=pyepub-0.3.1",
],
)