Python distribute (Setuptools) module.
Questions tagged [distribute]
228 questions
4
votes
0 answers
"Package directory does not exist" when running setup.py with sdist
I've got a game.py in ex48\ex48\game.py and my setup.py in ex48\docs\setup.py, I have init.py in both ex48\ex48__init.py and ex48\tests__init__.py . Game.py contains the following code:
class lexicon(object):
def __init__(self):
pass
def…

Cdhippen
- 615
- 1
- 10
- 32
4
votes
2 answers
How distribute my Python 3 app in *.pyc format?
I developed a simple Python app on Debian and I don't want to share my code.
The user will be on Windows.
I tried to use py_compile but the *.pyc file is not working on the other machine (Windows), giving a Bad magic number error.
Probably the error…

decadenza
- 2,380
- 3
- 18
- 31
4
votes
6 answers
Can I distribute my iPhone app for only certain people?
I want to develop a specific application that only clients of mine would be able to use, how can I limit the app to be downloaded only by people who I aprove ?
Thanks !

JHSnows
- 431
- 1
- 6
- 14
4
votes
3 answers
installing modules in python - pip, distribute, nose, virtualenv
I'm aware that there are similar questions on SO. This one, for example: What's the proper way to install pip, virtualenv, and distribute for Python?
I'd like to install these modules as per my Learn Python the Hard Way tutorial:…

Doug Fir
- 19,971
- 47
- 169
- 299
4
votes
1 answer
Installing Distribute when doing an altinstall of Python
I'm doing an altinstall of Python 2.7.3 on CentOS 5.8, and I want distribute which gives pip and all that jazz. However I'm having trouble understanding the correct procedure, and the setup script for distribute is giving me errors.
The current…

timss
- 9,982
- 4
- 34
- 56
3
votes
1 answer
Multiple installation configurations for a Python package
I'm working on creating a Python package that is somewhat modular in nature and I was wondering what's the best way to go about handling multiple installation configurations?
Take the following setup.py for the package of a simple document…

anomareh
- 5,294
- 4
- 25
- 22
3
votes
1 answer
What is the recommended way to generate and copy some files to arbitrary places in a setup.py?
I have a PyQT KDE application and I need to generate some files(with pyuic and pyrcc commands) and copy some files(.desktop) to some places(ie /usr/share/applications/kde4/). What are preferred ways to do this?
Is using shutil.copy() and…

sinan
- 6,809
- 6
- 38
- 67
3
votes
2 answers
Xcode: distribute `Re-sign` step been hidden, how to get it back?
I have add App Clip into my flutter project, and then when I distribute it, the Re-sign step was somehow missing, because of this I cannot distribute the app.
Do you know which setting will cause this Re-sign step been hidden ?
Why cannot…

JerryZhou
- 4,566
- 3
- 37
- 60
3
votes
3 answers
How do I make VirtualEnv use a custom version of setuptools?
The large corporation that I work for uses a custom version of Setuptools. This private fork of setuptools is intended to deal with certain networking and security difficulties that are unique to our organization. The bottom line is that neither the…

Salim Fadhley
- 22,020
- 23
- 75
- 102
3
votes
1 answer
Pip with virtualenv not upgrading Django
I'm using pip with virtualenv --no-site-packages --distribute and am trying to upgrade Django. pip install -U Django should upgrade it according to the docs I found. However, it simply finds the current Django installation and stops.
Ideally, I…

Arion
- 1,792
- 2
- 18
- 29
3
votes
1 answer
Why I have Error in organizer while distributing the application (xcode 10)
I'm trying to update an iOS app in App Store, with a new macbook, but I have error in organizer:
Resolver: Install error - org.apache.httpcomponents.httpcore Exception's name: java.io.IOException, Exception's message: Error
accessing
…

koliush
- 186
- 10
3
votes
2 answers
Confusing Python install in user local (virtualenv, pip, distribute)
I tried to install python below way. But this did not work.
This take "error: bad install directory or PYTHONPATH".
What's the proper way to install pip, virtualenv, and distribute for Python?
Make directory
$ mkdir -p ~/.python
Add .bashrc
#Use…

Matt - sanemat
- 5,418
- 8
- 37
- 41
3
votes
1 answer
Cannot install distribute: pypi.python.org rejecting http
This worked yesterday (I am fairly sure) and started failing only today. Any ideas/workaround on what I can do to install this package?
Doing curl to fetch this URL clearly shows the server is just rejecting with " 403 SSL is required" and not even…

vrtx54234
- 2,196
- 3
- 30
- 53
3
votes
1 answer
In python, how can I evenly distribute elements of list1 over elements of list2 without any shared elements?
Let's say I have
list1=['a','b']
and
list2=['d','c','e','f']
How can I join them into a third list without any two elements of list1 sharing an element of list2?
Like this:
list3=['ad','bc','ae','bf']

MMG
- 45
- 3
3
votes
1 answer
pip is trying to install packages with C extensions into global directories on OSX
I have a virtualenv with Python 2.7 and I'm trying to install some packages that have C extensions (in this case, pygame and/or pyaudio):
$ which pip
/Users/fyhuang/env/bin/pip
$ pip -V
pip 1.4 from /Users/fyhuang/env/lib/python2.7/site-packages…

fyhuang
- 2,147
- 5
- 21
- 24