-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·47 lines (42 loc) · 1.41 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
from setuptools import setup
with open('gitenberg_autoupdate/__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.autoupdate',
version=__version__,
description="A program for updating information within the GITenberg books project",
long_description=open('README.md').read(),
license='GPLv3',
author='Brian Silverman and Marc Gotliboym',
author_email='[email protected] and [email protected]',
url='https://github.com/gitenberg-dev/gitberg-autoupdate',
packages=['gitenberg_autoupdate'],
include_package_data=True,
scripts=['bin/webhook_server', 'bin/autoupdate_worker', 'bin/queue_manager'],
setup_requires=[
'sh>=1',
],
install_requires=[
'gitberg>=0.8.8',
'boto3',
'pyepub>=0.5.0',
],
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 :: 3.8',
],
keywords="books ebooks gitenberg gutenberg epub metadata",
)