-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
88 lines (77 loc) · 2.51 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
from setuptools import setup, find_packages
import pydotfiles
with open("README.md", "r") as readme_file:
long_description = readme_file.read()
##
# If I ever come back to this and get confused about all the packaging stuff,
# just refer back to here: https://stackoverflow.com/a/58941536
##
setup(
name="pydotfiles",
version=pydotfiles.__version__,
author="Jason Yao",
author_email="[email protected]",
description="Fast, easy, and automatic system configuration via a configuration file/repo",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/JasonYao/pydotfiles",
packages=find_packages(exclude=("bin", "build", "dist", "git", "pydotfiles.egg-info")),
include_package_data=True,
package_data={
'': [
"**/*.json"
],
},
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: System :: Systems Administration",
# Supported python environments
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
# Supported operating systems
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
],
license="GPLv3",
project_urls={
'Bug Reports': 'https://github.com/JasonYao/pydotfiles/issues',
# 'Funding': 'https://donate.pypi.org',
# 'Say Thanks!': 'http://saythanks.io/to/example',
'Source': 'https://github.com/JasonYao/pydotfiles',
},
# Installation dependencies below
install_requires=[
'PyYAML>=3.13',
'jsonschema>=2.6.0',
'GitPython>=2.1.11',
'progressbar2>=3.38.0',
'dataclasses;python_version<"3.7"',
'importlib_resources; python_version < "3.9"',
],
scripts=['pydotfiles/bin/pydotfiles'],
zip_safe=False,
python_requires='>=3.6',
extra_require={
'dev': [
# Linters
'autopep8',
# Tests
'pytest',
'pytest-pep8',
'pytest-cov',
],
'release': [
'wheel',
'twine'
]
}
)