-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
54 lines (50 loc) · 1.58 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
49
50
51
52
53
54
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import io
from setuptools import find_packages
from setuptools import setup
with io.open("README.rst", encoding="UTF-8") as readme_file:
readme = readme_file.read()
with io.open("CHANGELOG.rst", encoding="UTF-8") as changelog_file:
history = changelog_file.read()
requirements = ["attrs"]
extras_require = {
"docs": ["sphinx >= 1.4", "sphinx_rtd_theme", "sphinx-autodoc-typehints"],
"testing": [
"codecov",
"pytest",
"pytest-cov",
"pytest-mock",
"pre-commit",
"tox",
"mypy",
],
}
setup(
author="ESSS",
author_email="foss@esss.co",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
description="OOP Extensions is a set of utilities for object oriented programming not found on Python's standard library.",
extras_require=extras_require,
install_requires=requirements,
license="MIT license",
long_description=readme + "\n\n" + history,
include_package_data=True,
python_requires=">=3.6",
keywords="oop_ext",
name="oop-ext",
packages=find_packages(where="src"),
package_dir={"": "src"},
url="http://github.com/ESSS/oop-ext",
zip_safe=False,
)