-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathsetup.cfg
74 lines (62 loc) · 1.94 KB
/
setup.cfg
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
[metadata]
name = %%name%%
version = %%version%%
summary = %%description%%
description-file =
README.rst
CHANGELOG.rst
license_file = LICENSE
requires-dist =
pyyaml
## sdist info
author = %%author%%
author_email = %%email%%
home_page = http://github.com/0k/%%name%%
license = BSD 3-Clause License
classifier =
Programming Language :: Python
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Topic :: Software Development
Topic :: Software Development :: Libraries :: Python Modules
Development Status :: 5 - Production/Stable
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
[backwards_compat]
## without this ``pip uninstall`` fails on recent version of setuptools
## (tested failing with setuptools 34.3.3, working with setuptools 9.1)
zip-safe = False
[bdist_wheel]
universal = 1
[files]
extra_files =
README.rst
CHANGELOG.rst
setup.py
## Note: d2to1 maps ``setup.py``'s ``py_modules`` to ``modules`` here.
## This is required for single-file module, this allows the ``entry_point``
## to reference ``shyaml``. Besides, this is needed also for direct python
## API usage.
modules =
shyaml
## We can't use scripts to share these simply as extension managed ``.py``
## is not correctly handled for both windows and linux to be happy.
# scripts =
# shyaml
[entry_points]
console_scripts =
## will generate correct files with adequate extenstion in windows
## and linux, contrary to 'scripts'. Note that it requires 'shyaml'
## to be declared as a module also.
shyaml = shyaml:entrypoint
[flake8]
ignore = E265,W391,E262,E126,E127,E266
max-line-length = 80
max-complexity = 10