Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 9 additions & 25 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
[metadata]
name = %%name%%
version = %%version%%
summary = %%description%%
description-file =
README.rst
CHANGELOG.rst
description = %%description%%
long_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%%
url = http://github.com/0k/%%name%%
license = BSD 3-Clause License
classifier =
classifiers =
Programming Language :: Python
Environment :: Console
Intended Audience :: Developers
Expand All @@ -32,34 +28,22 @@ classifier =
Programming Language :: Python :: 3.7


[backwards_compat]
[options]
## 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

zip_safe = False
install_requires =
pyyaml

[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]
[options.entry_points]
console_scripts =
## will generate correct files with adequate extenstion in windows
## and linux, contrary to 'scripts'. Note that it requires 'shyaml'
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@
##

setup(
setup_requires=['d2to1'],
extras_require={'test': [
"docshtest==0.0.3",
]},
d2to1=True
)