distribute Questions

4

Is it possible to specify (editable) source dependencies in setup.py that are known to reside on the local file system? Consider the following directory structure, all of which lives in a single V...
Maddening asked 19/10, 2012 at 21:1

2

Solved

In my requirements.txt file I want to specify that my app needs Django version 1.3.x. That is, either 1.3.0, or 1.3.1, or 1.3.2, etc. (When these come out.) But not 1.4, when it comes out. What's ...
Rest asked 18/5, 2011 at 16:5

5

Solved

I have a script that creates a virtualenv, installs distribute and pip in it and then optionally clones a git repo. Now I have the project I will be working on, installed. But its dependencies are...
Peacemaker asked 23/2, 2010 at 10:44

4

TL;DR I need a module which will automatically update my script in the background, silently. I'm have a Python script which I distribute to users. I frequently update this, and then ask them to up...
Partlet asked 12/9, 2011 at 18:24

5

Solved

When I run python setup.py sdist it creates an sdist in my ./dist directory. This includes a "PROJECT-egg.info" file in the zip inside my "dist" folder, which I don't use, but it doesn't hurt m...
Benbow asked 23/9, 2010 at 15:26

3

I am distributing a package that has this structure: mymodule: mymodule/__init__.py mymodule/code.py scripts/script1.py scripts/script2.py The mymodule subdir of mymodule contains code, and ...
Adjutant asked 19/10, 2012 at 13:40

7

Solved

I seem to have suddenly started to encounter the error error: option --single-version-externally-managed not recognized when using pip install with various packages (including PyObjC and astropy). ...
Fed asked 12/1, 2013 at 18:24

1

Solved

I have a program written with node js that I want to bundle and distribute as "stand-alone" executable program. I want to run the program through cmd only with the the executable file name (withou...
Romaineromains asked 19/6, 2020 at 17:27

1

Solved

I'm new to the Pytorch DstributedDataParallel(), but I found that most of the tutorials save the local rank 0 model during training. Which means if I get 3 machine with 4 GPU on each of them, at th...
Wahlstrom asked 5/4, 2020 at 3:52

1

I have a Git repository cloned into myproject, with an __init__.py at the root of the repository, making the whole thing an importable Python package. I'm trying to write a setuptools setup.py for...
Coursing asked 19/7, 2013 at 22:56

3

Solved

I have package "A" with a setup.py and an extras_requires line like: extras_require = { 'ssh': ['paramiko'], }, And a package "B" that depends on util: install_requires = ['A[ssh]'] If I run...
Illa asked 25/1, 2011 at 17:41

2

Solved

I am running virtualenvwrapper and friends on Ubuntu 12.04 (virtualenvwrapper 1.7.1.2, virtualenv 1.7.1.2, pip 1.0, Distribute 0.6.24, Python 2.7). To be able to pip install matplotlib I need a new...
Musclebound asked 7/11, 2013 at 13:37

1

Solved

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 jus...
Horseback asked 26/10, 2017 at 19:44

8

Solved

I was tried to upgrade pip with pip install --upgrade pip on OSX and pip and easy_install both dont work. When running pip Traceback (most recent call last): File "/usr/local/bin/pip", line 5, i...
Siloxane asked 16/10, 2013 at 9:58

15

Short Question What is the proper way to install pip, virtualenv, and distribute? Background In my answer to SO question 4314376, I recommended using ez_setup so that you could then install pip a...
Archibold asked 1/12, 2010 at 12:54

4

Solved

I'm using pip with virtualenv to package and install some Python libraries. I'd imagine what I'm doing is a pretty common scenario. I'm the maintainer on several libraries for which I can specify...
Beth asked 4/8, 2011 at 20:16

1

Solved

I have a CSV file "test.csv" that I'm trying to have copied to all nodes on the cluster. I have a 4 node apache-spark 1.5.2 standalone cluster. There are 4 workers where one node also acts has mas...
Clamworm asked 5/5, 2016 at 15:57

5

Solved

Getting the following kinds of warnings when running most python scripts in the command line: /Library/Python/2.6/site-packages/virtualenvwrapper/hook_loader.py:16: UserWarning: Module pkg_resou...
Thurman asked 5/10, 2010 at 6:38

2

Solved

pkg_resources api let's you get Distribution objects that represent egg distributions inside a directory. I can trivially get the project name and version of the distribution with dist.project_name...
Testy asked 12/5, 2012 at 20:29

2

Solved

I am looking for a functionality similar to the distributed cache of Hadoop in Spark. I need a relatively small data file (with some index values) to be present in all nodes in order to make some c...
Happen asked 2/9, 2014 at 14:20

2

Solved

I have a module that works both on python 2 and python 3. In Python<3.2 I would like to install a specific package as a dependency. For Python>=3.2. Something like: install_requires=[ "threa...
Penetration asked 13/1, 2014 at 0:19

3

Solved

I installed PyPy while still having Python 2.7 on my system. How do I install and then use easy_install with PyPy? What is the syntax for distinguishing where I want to install to with easy_insta...
Ortega asked 28/12, 2011 at 11:9

3

Solved

When I run python setup.py test the dependencies listed in tests_require in setup.py are downloaded to the current directory. When I run python setup.py install, the dependencies listed in requires...
Cyprinid asked 19/1, 2011 at 10:43

0

I allready created pyton for android folder few days ago, but forgot to nclude some modules. So I just wanted to do this again... Tis is a result of ./distribute.sh Python build finished, but th...
Ulrich asked 25/11, 2014 at 23:56

3

Solved

As part of my project's setup process, I need to symlink one of the packages to a specified directory so an init.d script can find it. Is there any way to add this as a post-processing command to s...
Kurgan asked 29/1, 2010 at 0:57

© 2022 - 2024 — McMap. All rights reserved.