-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·34 lines (30 loc) · 978 Bytes
/
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
#!/usr/bin/env python
import os
from distutils.core import setup
from ghgrep import VERSION
# I really prefer Markdown to reStructuredText. PyPi does not. This allows me
# to have things how I'd like, but not throw complaints when people are trying
# to install the package and they don't have pypandoc or the README in the
# right place.
try:
import pypandoc
description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
description = ''
setup(
name = 'ghgrep',
version = VERSION,
author = 'James Pearson',
author_email = '[email protected]',
packages = ['ghgrep'],
scripts = ['bin/ghgrep'],
url = 'https://github.com/xiongchiamiov/ghgrep',
license = 'WTFPL',
description = 'List all your Github repositories containing a filename matching a search pattern.',
long_description = description,
install_requires = [
'docopt >= 0.6.1',
'envoy >= 0.0.2',
'github3.py >= 0.7, < 0.8',
],
)