forked from PyFilesystem/pyfilesystem2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (42 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
47
#!/usr/bin/env python
from setuptools import setup, find_packages
with open("fs/_version.py") as f:
exec(f.read())
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: System :: Filesystems",
]
REQUIREMENTS = ["appdirs~=1.4.3", "pytz", "setuptools", "six~=1.10"]
setup(
author="Will McGugan",
author_email="[email protected]",
classifiers=CLASSIFIERS,
description="Python's filesystem abstraction layer",
install_requires=REQUIREMENTS,
extras_require={
"scandir :python_version < '3.5'": ["scandir~=1.5"],
":python_version < '3.4'": ["enum34~=1.1.6"],
":python_version < '3.6'": ["typing~=3.6"],
":python_version < '3.0'": ["backports.os~=0.1"],
},
license="MIT",
name="fs",
packages=find_packages(exclude=("tests",)),
package_data={"fs": ["py.typed"]},
zip_safe=False,
platforms=["any"],
url="https://github.com/PyFilesystem/pyfilesystem2",
version=__version__,
)