PyScaffold should provide proper defaults for the devpi upload as the usage of https://pypi.python.org/pypi/setuptools_scm comes with some peculiarities in combination with devpi upload. E.g. devpi by default exports from the SCM to avoid packaging files not under version control.
Potential content of the relevant section in setup.cfgcould be:
[devpi:upload]
formats = sdist.tgz,bdist_wheel
no-vcs = 1
with-docs = 1
Rational for each line:
- setuptools_scm is a required to execute the setup.py and installation will be handled by easy_install. As this can cause errors when using custom indices a wheel should be provided.
- no-vcs ensures that the version console information is present during packaging.
- with-docs would ensure the documentation is also uploaded to devpi. As PyScaffold generates Sphinx documentation I assume this to be a sensible default.
PyScaffold should provide proper defaults for the
devpi uploadas the usage of https://pypi.python.org/pypi/setuptools_scm comes with some peculiarities in combination withdevpi upload. E.g. devpi by default exports from the SCM to avoid packaging files not under version control.Potential content of the relevant section in
setup.cfgcould be:Rational for each line: