build-tweaks

This commit is contained in:
Robin Dunn
2017-04-16 18:34:23 -07:00
parent 05861752aa
commit 5360b7b688
2 changed files with 6 additions and 11 deletions

View File

@@ -1491,9 +1491,9 @@ def cmd_bdist_egg(options, args):
_doSimpleSetupCmd(options, args, 'bdist_egg')
cfg = Config()
if options.upload:
filemask = "dist/%s-%s-*.egg" % (baseName, cfg.VERSION.replace('-', '_'))
filemask = "dist/%s-%s-*.egg" % (baseName, cfg.VERSION)
filenames = glob.glob(filemask)
assert len(filenames) == 1
assert len(filenames) == 1, "Unknown files found:"+repr(filenames)
uploadPackage(filenames[0], options)
@@ -1501,9 +1501,9 @@ def cmd_bdist_wheel(options, args):
_doSimpleSetupCmd(options, args, 'bdist_wheel')
cfg = Config()
if options.upload:
filemask = "dist/%s-%s-*.whl" % (baseName, cfg.VERSION.replace('-', '_'))
filemask = "dist/%s-%s-*.whl" % (baseName, cfg.VERSION)
filenames = glob.glob(filemask)
assert len(filenames) == 1
assert len(filenames) == 1, "Unknown files found:"+repr(filenames)
uploadPackage(filenames[0], options)
@@ -1511,9 +1511,9 @@ def cmd_bdist_wininst(options, args):
_doSimpleSetupCmd(options, args, 'bdist_wininst')
cfg = Config()
if options.upload:
filemask = "dist/%s-%s-*.exe" % (baseName, cfg.VERSION.replace('-', '_'))
filemask = "dist/%s-%s-*.exe" % (baseName, cfg.VERSION)
filenames = glob.glob(filemask)
assert len(filenames) == 1
assert len(filenames) == 1, "Unknown files found:"+repr(filenames)
uploadPackage(filenames[0], options)

View File

@@ -59,11 +59,6 @@ or the `wxPython API documentation <https://wxpython.org/Phoenix/docs/html/main.
# or maybe LONG_DESCRIPTION=open("README.rst").read() ??
if version.VER_FLAGS:
LONG_DESCRIPTION += """
:note: To install pre-release versions don't forget to add the ``--pre`` flag
to the ``pip install`` command.
"""
CLASSIFIERS = """\
Development Status :: 3 - Alpha