-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (31 loc) · 1.05 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
import sys
from distutils.core import setup
with open('README.rst') as inp:
long_description = inp.read()
__version__ = ''
with open('pypstats.py') as inp:
for line in inp:
if (line.startswith('__version__')):
exec(line.strip())
break
setup(
name='pypstats',
version=__version__,
author='Ahmet Bakan',
author_email='ahmetbakan at msn dot com',
description='Retrieve monthly package download statistics from PyPI',
long_description=long_description,
url='https://github.com/abakan/pypstats',
py_modules=['pypstats'],
license='GPLv3',
keywords=('monthly, package, download, statistics'),
scripts=['pyps'],
classifiers=[
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
],
)