-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no module 'six' when specifying minimum setuptools requirement. #1002
Comments
setup.py is the following: #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
import pyspin
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
with open('README.md') as f:
long_description = f.read()
setup(
name='pyspin',
version=pyspin.__version__,
description='Little terminal spinner lib.',
long_description=long_description,
url='http://github.com/lord63/py-spin',
author='lord63',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='terminal spin spinner',
packages=['pyspin'],
include_package_data=True,
setup_requires=[
'six',
'setuptools >= 20.8.1',
],
install_requires=[
'futures; python_version < "3.2"',
],
) |
You can't use setup_requires to indicate setuptools, in part because setup_requires setuptools but also because setuptools 34 dropped support for self-installation using easy_install. |
So I guess it's not possible to indicate that you need a newer setuptools installed? |
benvand
added a commit
to Crown-Commercial-Service/digitalmarketplace-aws
that referenced
this issue
May 25, 2017
A bug in mocks `setup.py` means that setuptools cannot find the six module. Updating setuptools satisfies this dependency. pypa/setuptools#1002 (comment) jaraco (setuptools contributor) 'You can't use setup_requires to indicate setuptools' https://github.com/testing-cabal/mock/blob/master/setup.py#L5 mock/setup.py ``` import setuptools setuptools.setup( setup_requires=['pbr>=1.3', 'setuptools>=17.1'], pbr=True) ```
benvand
added a commit
to Crown-Commercial-Service/digitalmarketplace-aws
that referenced
this issue
May 25, 2017
A bug in mocks `setup.py` means that setuptools cannot find the six module. Updating setuptools satisfies this dependency. pypa/setuptools#1002 (comment) jaraco (setuptools contributor) 'You can't use setup_requires to indicate setuptools' https://github.com/testing-cabal/mock/blob/master/setup.py#L5 mock/setup.py ``` import setuptools setuptools.setup( setup_requires=['pbr>=1.3', 'setuptools>=17.1'], pbr=True) ```
benvand
added a commit
to Crown-Commercial-Service/digitalmarketplace-aws
that referenced
this issue
May 25, 2017
A bug in mocks `setup.py` means that setuptools cannot find the six module. Updating setuptools satisfies this dependency. pypa/setuptools#1002 (comment) jaraco (setuptools contributor) 'You can't use setup_requires to indicate setuptools' https://github.com/testing-cabal/mock/blob/master/setup.py#L5 mock/setup.py ``` import setuptools setuptools.setup( setup_requires=['pbr>=1.3', 'setuptools>=17.1'], pbr=True) ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using setup_requires to specify a minimum setuptools, I received the following:
The text was updated successfully, but these errors were encountered: