-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
46 lines (39 loc) · 1.53 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
# -*- coding: utf-8 -*-
from setuptools import setup
import re
from io import open
## from https://gehrcke.de/2014/02/distributing-a-python-command-line-application/
version = re.search(
'^__version__\s*=\s*"(.*)"',
open('pip_upgrade_outdated/upgrade_pip_packages.py', 'r').read(),
re.M
).group(1)
with open('README.md', 'r') as f:
long_description = f.read() #.decode("utf-8")
setup(name='pip_upgrade_outdated',
version=version,
description='Command-line tool to updated outdated python packages',
long_description=long_description,
long_description_content_type='text/markdown',
url='http://github.com/defjaf/pip_upgrade_outdated',
author='Andrew H. Jaffe',
author_email='[email protected]',
license='MIT', ### see https://choosealicense.com/licenses/mit/#
packages=['pip_upgrade_outdated'],
install_requires=['pip'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Archiving :: Packaging',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3'
],
keywords='pip',
entry_points = {
'console_scripts': ['pip_upgrade_outdated=pip_upgrade_outdated.upgrade_pip_packages:main'],
}
)