-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
48 lines (37 loc) · 1.36 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
47
48
# coding: utf-8
import sys
from setuptools import setup, find_packages
def README():
with open('README.rst') as f:
return f.read()
# Backward-compatibility dependencies for Python 2
_python2_requires = [
'future', # For backport of surrogateescape
] if sys.version_info < (3,) else []
setup(
name='backports.os',
description="Backport of new features in Python's os module",
long_description=README(),
url='https://github.com/pjdelport/backports.os',
author='Pi Delport',
author_email='[email protected]',
package_dir={'': 'src'},
packages=find_packages('src'),
setup_requires=['setuptools_scm'],
use_scm_version=True,
install_requires=_python2_requires,
license='Python Software Foundation License',
classifiers=[
'Development Status :: 6 - Mature',
'Intended Audience :: Developers',
'License :: OSI Approved :: Python Software Foundation License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)