I want to build my pack, but when I executing "python setup.py build sdist", it packed a package which named "xxx-1.0.0.dev3"
I do not want the "dev3", but I don't know how to fix it.
And, I use pbr for packing.
Here is setup.py:
import setuptools
setuptools.setup(
setup_requires=['pbr'],
pbr=True)
Here is setup.cfg:
[metadata]
Version=1.0.0
name=noni
author=xxx
author-email=xxxx
summary=...
license=MIT
description-file =
README.rst
home-page = xxxx
requires-python = >=2.7
classifier =
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Information Technology
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Lauguage :: python
[files]
packages =
xxx
data-files =
etc/pbr = etc/pbr/*
My impression is that if you add a tag with your version number to the current commit the package will build with dev suffix.
This is based on the practice that any release is tagged. If is not tagged is probably a development build which is numbered with the
devNsuffix where N is the number of commits since the last tag.