-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (27 loc) · 1014 Bytes
/
setup.py
File metadata and controls
29 lines (27 loc) · 1014 Bytes
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
import sys
from distutils.core import setup
if sys.version_info[0] < 3:
version = str(sys.version_info[0]) + '.' + str(sys.version_info[1])
sys.exit("""
Sorry! Your Python version is %s, but this program requires at least
Python 3. Please upgrade your Python installation, or try using pip3
instead of pip.""" % version)
setup(
name='git-lit',
packages = ['gitlit'], # this must be the same as the name above
py_modules=['gitlit'],
package_data={'gitlit': ['templates/*']},
version='0.2.0',
description = 'Scripts for making git repositories from ebooks, like those from the British Library.',
author = 'Jonathan Reeve',
author_email = 'jon.reeve@gmail.com',
url = 'https://github.com/git-lit/git-lit',
download_url = 'https://github.com/git-lit/git-lit/tarball/0.2.0',
install_requires=[
'click','jinja2','sh','lxml','unidecode','github3.py'
],
entry_points='''
[console_scripts]
git-lit=gitlit.main:cli
''',
)