-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·45 lines (39 loc) · 1.34 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
#!/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="code needed for building GITenberg books",
long_description=open('README.md').read(),
license=open('./LICENSE').read(),
author='Eric Hellman',
author_email='[email protected]',
url='https://github.com/gitenberg-dev/gitberg-build',
packages=['gitenberg', 'gitenberg.metadata', 'gitenberg.tests',
'gitenberg.travis', 'gitenberg.util'],
include_package_data=True,
install_requires=[
'requests>=2.2',
'Jinja2>=2.7',
'PyYAML>=3.10',
],
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",
)