我想构建我的包,但是当我执行“python setup.py build sdist”时,它打包了一个名为“xxx-1.0.0.dev3”的包
我不想要“dev3”,但我不知道如何修复它。
而且,我使用 pbr 进行打包。
这是 setup.py:
import setuptools
setuptools.setup(
setup_requires=['pbr'],
pbr=True)
这是 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/*