Package Details: pypy3-setuptools 1:35.0.1-1

Git Clone URL: https://aur.archlinux.org/pypy-setuptools.git (read-only)
Package Base: pypy-setuptools
Description: Easily download, build, install, upgrade, and uninstall Python packages
Upstream URL: http://pypi.python.org/pypi/setuptools
Licenses: PSF
Provides: pypy3-distribute
Replaces: pypy3-distribute
Submitter: yan12125
Maintainer: dundee
Last Packager: dundee
Votes: 15
Popularity: 0.347062
First Submitted: 2015-08-13 07:49
Last Updated: 2017-04-19 08:56

Latest Comments

dundee commented on 2017-03-27 12:08

@travnick: You can fix this by:

sudo curl -o /opt/pypy3/lib-python/3/ssl.py https://gist.githubusercontent.com/gumblex/b77e5d6fba8d01a41789beb6dc90adec/raw/2ff2cafd81e8a23b0249631f2be982009a072116/ssl.py
see https://www.reddit.com/r/learnpython/comments/5rblst/cant_use_pip_with_pypy_on_arch_linux/

See my older comment how to install pypy-setuptools for the first time.

yan12125 commented on 2017-03-25 18:44

@travnick: TLS support is broken in older pypy3 versions and already fixed in the latest pypy3 5.7.0. See https://bugs.archlinux.org/task/52458

travnick commented on 2017-03-24 17:37

sudo pypy3 -m ensurepip

Ignoring ensurepip failure: pip 8.1.2 requires SSL/TLS

dundee commented on 2017-02-03 23:09

muesio: All the dependencies are needed for the packages to work.

Setuptools need packaging and appdir (they are used in code), packaging and appdir needs setuptools during build (they are used in setup.py).

mueslo commented on 2017-02-03 20:56

What's the rationale behind the cyclic dependencies?

dundee commented on 2017-02-01 22:46

Fixed.

Please note, that setuptools do not include their dependecies in vendor dir anymore. FIRST installation of setuptools is therefore little bit complicated, because there are cyclic dependencies.

You need to do:
1. install setuptools manually via ensurepip:

# sudo pypy -m ensurepip
# sudo pypy3 -m ensurepip

If you get error message "Ignoring ensurepip failure: pip 8.1.2 requires SSL/TLS", there is easy hack/fix:
sudo curl -o /opt/pypy3/lib-python/3/ssl.py https://gist.githubusercontent.com/gumblex/b77e5d6fba8d01a41789beb6dc90adec/raw/2ff2cafd81e8a23b0249631f2be982009a072116/ssl.py
see https://www.reddit.com/r/learnpython/comments/5rblst/cant_use_pip_with_pypy_on_arch_linux/

2. install all setuptools dependencies (pypy-six, pypy-pyparsing, pypy-packaging, pypy-appdirs)

You will have to edit the PKGBUILD and remove dependency on pypy-setuptools during this first install.

3. install pypy-setuptools with --force (because ensurepip installed files on same paths)

mueslo commented on 2017-02-01 19:16

Missing 'packaging' dependency

==> Beginne package_pypy-setuptools()...
Traceback (most recent call last):
File "setup.py", line 11, in <module>
import setuptools
File "/tmp/username/packerbuild-1002/pypy3-setuptools/pypy3-setuptools/src/setuptools-34.1.0/setuptools/__init__.py", line 12, in <module>
import setuptools.version
File "/tmp/username/packerbuild-1002/pypy3-setuptools/pypy3-setuptools/src/setuptools-34.1.0/setuptools/version.py", line 1, in <module>
import pkg_resources
File "/tmp/username/packerbuild-1002/pypy3-setuptools/pypy3-setuptools/src/setuptools-34.1.0/pkg_resources/__init__.py", line 70, in <module>
import packaging.version
ImportError: No module named packaging

mueslo commented on 2017-02-01 19:14

Missing 'six' dependency

==> Beginning package_pypy-setuptools()...
Traceback (most recent call last):
File "setup.py", line 11, in <module>
import setuptools
File "/tmp/username/packerbuild-1002/pypy3-setuptools/pypy3-setuptools/src/setuptools-34.1.0/setuptools/__init__.py", line 10, in <module>
from six.moves import filter, map
ImportError: No module named six

yan12125 commented on 2016-11-03 11:43

I don't use pypy anymore, and maintaining against such a fast pace project is indeed a burden for me. I'm going to drop it and feel free to adopt it. For interested, you can find PKGBUILD template at https://github.com/yan12125/aur/tree/master/disowned/pypy-setuptools

yan12125 commented on 2016-11-03 11:42

I don't use pypy anymore, and maintaining against such a fast pace project is indeed a burden for me. I'm going to drop it and feel free to adopt it. For interested, you can find PKGBUILD template at https://github.com/yan12125/aur/tree/master/disowned/pypy-setuptools

All comments