forked from prospector-dev/requirements-detector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (49 loc) · 1.56 KB
/
Copy pathsetup.py
File metadata and controls
56 lines (49 loc) · 1.56 KB
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
# -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
import sys
_version = "0.7"
_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
_short_description = "Python tool to find and list requirements of a Python project"
_CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: Unix',
'Topic :: Software Development :: Quality Assurance',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: MIT License',
]
if sys.version_info < (2, 7):
# pylint 1.4 dropped support for Python 2.6
_install_requires = [
'astroid>=1.0,<1.3.0',
]
elif sys.version_info < (3, 0):
# astroid 2.x is Python 3 only
_install_requires = [
'astroid>=1.4,<2.0',
]
else:
_install_requires = [
'astroid>=1.4',
]
setup(
name='requirements-detector',
url='https://github.com/landscapeio/requirements-detector',
author='landscape.io',
author_email='code@landscape.io',
description=_short_description,
version=_version,
scripts=['bin/detect-requirements'],
install_requires=_install_requires,
packages=_packages,
license='MIT',
keywords='python requirements detector',
classifiers=_CLASSIFIERS,
)