-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (35 loc) · 1004 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
34
35
36
37
38
39
40
41
42
43
44
import imp
import os
from setuptools import (setup, find_packages)
PACKAGE_NAME = 'pri'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.md'), encoding='utf-8').read()
except:
README = ''
VERSION = imp.load_source('version', os.path.join(here, 'src/%s/version.py' % PACKAGE_NAME)).__version__
setup(
name='pri',
version=VERSION,
keywords='python, PyPi mirror, pip repository manager',
description="Pip Repository Manager. Switch PyPi mirror.",
long_description=README,
author='xiyusullos',
author_email='i@xy-jit.cc',
url='https://github.com/xiyusullos/PipRepositoryIndex',
license='MIT',
packages=find_packages('src'),
package_dir={'': 'src'},
platforms='any',
zip_safe=True,
include_package_data=True,
install_requires=[
'docopt==0.6.2',
],
classifiers=[],
entry_points={
'console_scripts': [
'pri = pri.__main__:main'
]
},
)