Let me ask it like this. What happens when a user types..?
pip will check for 'repo' on pypi, find nothing and stop processing.
Is github one of the default sites pip scans?
No.
If so, will it rip a requirements file in the root of repo.git?
No.
If so, what file name should that have?
You can choose any name you like. I think I have to explain a bit
more.
The requirement file is basically a list of *all installed
distributions* in a Python environment and is usually created by 'pip
freeze'. It is merely a way to tell pip later which distributions it
should try to install.
The basic way of working with requirement files if this:
1. Create virtual environment [1]
2. Install *your* package and all of its dependencies within the virtual
environment
3. Run 'pip freeze' to get the list of installed distributions and write
it to a file. This file is the requirement file.
4. Give the requirement file to someone else
5. Create a virtual environment
6. Run 'pip install -r requirement_file.txt' to install all
distributions 'frozen' in the requirements file
7. PROFIT!!!
A requirements file is not really meant to state the dependencies of a
single distribution, but rather describe the complete state an
environment is in *so it can be reconstructed later* exactly like is has
been before. This is quite important if you want to deploy application
and you want to make sure that only tested versions of you dependency
get installed.
I think of it rather in the terms of:
pip freeze --> dpkg --get-selections
pip install -r r.txt --> dpkg --set-selections
aptitude install
AFAIK you can also host the distribution on another site than pypi, but
I am not sure how to tell pip to check there for distributions as well.
You might want to ask this on the virtualenv list.
--
.''`. Wolodja Wentland <
[email protected]>
: :' :
`. `'` 4096R/CAF14EFC
`- 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJK+oLwAAoJEIt/fTDK8U78ZvEQAJ2HL/MZt63xOBKApHO1nYIz
dRnYmCo2x6BVTf63HGpz3egKz3xJt4u+Qoisn5E5QUIPcbY+WOvMDyDwbOYI1Oet
aCnjYfjCxnB/vIeDPZaA9qBtjorRSwoHjc1/byu5pVrjZyLM/2YaHQ45cg4MnT3W
JtHsyPOH4+gvW2ptEO4jRFbFo4p/iIIsY5AxmuR/7bASGueL7uIK+wrbW3zrO/h2
JT6851ytdk5N6ZM9iRhfrvzZ01mwhjqEP1ekCRkj2NxQboPoXdT9S7gZ8QGchTq3
7PIOLHtUkymlwfWiI9kMqWEQNlcfGxbjijH3KH9W/gR3uWouBc5xNVtgZNPsXNPI
7wzI5r9Yh1ffqDTqPO8EYVHpPXN/kVHUWn7SqBPwR9ZfdEMXiRJeFBGz2VKz2F83
H+6FmVdz5NQBXD7KsKHezbTfZjmhFIxt1T281LzAtKGsD2XCiR4v6u/DJKr51mvH
kq9VWeUiaItZxTXrh+IlIWTaMFm1Py8MOiQU+Rmkd9dncxcYWTRz08npueJ7yQCW
1Z/rZWCV0WvOpRvl0JyCIQwP/71sNJP2MNqHuejB3R1plTAJqxG2O+IJOOQ2fItg
dLIr1twr3KZV8XfayOMO14Y4xSxQJC9HbM4JzWi5Ex0mAO/tvNFhhVRHjEyE1+Q3
2cG9RfEPILKBxbV89P7I
=jkWQ
-----END PGP SIGNATURE-----