-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
26 lines (23 loc) · 796 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
#!/usr/bin/env python
from setuptools import find_packages, setup
version_ns = {}
with open('pip_downloader/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
exec(line, version_ns)
break
setup(
name='pip-downloader',
version=version_ns['__version__'],
packages=find_packages(include=['pip_downloader', 'pip_downloader.*']),
description='Download packages from pip for offline usage.',
long_description=open('README.rst').read(),
license='MIT',
author='AbdealiJK',
author_email='abdealikothari@gmail.com',
url='https://github.com/AbdealiJK/pip-downloader',
install_requires=['click', 'requests'],
entry_points={
'console_scripts': ['pip-downloader = pip_downloader.cli:main'],
},
)