env: LC_ALL=C LC_CTYPE=C
- python: 2.7
env: LC_ALL=C LC_CTYPE=C
+ allow_failures:
+ # https://github.com/pypa/setuptools/issues/1015
+ - python: nightly
script:
# need tox and rwt to get started
- pip install tox rwt
+v35.0.1
+-------
+
+* #992: Revert change introduced in v34.4.1, now
+ considered invalid.
+
+* #1016: Revert change introduced in v35.0.0 per #1014,
+ referencing #436. The approach had unintended
+ consequences, causing sdist installs to be missing
+ files.
+
v35.0.0
-------
[bumpversion]
-current_version = 35.0.0
+current_version = 35.0.1
commit = True
tag = True
setup_params = dict(
name="setuptools",
- version="35.0.0",
+ version="35.0.1",
description="Easily download, build, install, upgrade, and uninstall "
"Python packages",
author="Python Packaging Authority",
rcfiles = list(walk_revctrl())
if rcfiles:
self.filelist.extend(rcfiles)
+ elif os.path.exists(self.manifest):
+ self.read_manifest()
ei_cmd = self.get_finalized_command('egg_info')
self.filelist.graft(ei_cmd.egg_info)
from six.moves import filterfalse
from .monkey import get_unpatched
-from . import py27compat
if platform.system() == 'Windows':
from six.moves import winreg
# If error, try to set environment directly
try:
- env = EnvironmentInfo(arch, ver).return_env()
+ return EnvironmentInfo(arch, ver).return_env()
except distutils.errors.DistutilsPlatformError as exc:
_augment_exception(exc, ver, arch)
raise
- return py27compat.dict_values_strings(env)
-
def msvc14_get_vc_env(plat_spec):
"""
rmtree_safe = str if linux_py2_ascii else lambda x: x
"""Workaround for http://bugs.python.org/issue24672"""
-
-
-def dict_values_strings(dict_):
- """
- Given a dict, make sure the text values are str.
- """
- if six.PY3:
- return dict_
-
- # When dropping Python 2.6 support, use a dict constructor
- return dict(
- (key, str(value))
- for key, value in dict_.iteritems()
- )
_install_one('python-novaclient', install_context,
'novaclient', 'base.py')
+
+def test_pyuri(install_context):
+ """
+ Install the pyuri package (version 0.3.1 at the time of writing).
+
+ This is also a regression test for issue #1016.
+ """
+ _install_one('pyuri', install_context, 'pyuri', 'uri.py')
+
+ pyuri = install_context.installed_projects['pyuri']
+
+ # The package data should be installed.
+ assert os.path.exists(os.path.join(pyuri.location, 'pyuri', 'uri.regex'))
+
+
import re
import subprocess
import functools