-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
57 lines (48 loc) · 1.46 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
48
49
50
51
52
53
54
55
56
57
import sys
from setuptools import setup, find_packages
def read(fname):
""" Return file content. """
with open(fname) as f:
content = f.read()
return content
description = 'PyVegan is a simple Python CLI to browse vegan recipes'
try:
long_description = read('README.rst')
except IOError:
long_description = description
author_name = 'Patrick Mazulo'
author_email = '[email protected]'
dependencies = [
'curses-menu==0.5.0',
'requests==2.22.0',
'tqdm==4.36.1',
'beautifulsoup4==4.8.0'
]
if sys.version_info.major == 2:
dependencies.append('futures==3.0.5')
setup(
name='PyVegan',
version='0.2',
description=description,
long_description=long_description,
url='https://github.com/mazulo/pyvegan',
author=author_name,
author_email=author_email,
maintainer=author_name,
maintainer_email=author_email,
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: System :: Shells',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='pyvegan cli shell vegan',
download_url='https://github.com/mazulo/pyvegan/archive/master.zip',
packages=find_packages(exclude=['tests*']),
install_requires=dependencies,
entry_points={'console_scripts': ['pyvegan = pyvegan:main']},
platforms='windows linux',
)