Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stuaxo/add-dist-package
Create symlinks to system packages inside the current virtualenv or specified.
https://github.com/stuaxo/add-dist-package
Last synced: about 1 month ago
JSON representation
Create symlinks to system packages inside the current virtualenv or specified.
- Host: GitHub
- URL: https://github.com/stuaxo/add-dist-package
- Owner: stuaxo
- License: mit
- Created: 2012-11-18T16:46:39.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-03-16T08:38:27.000Z (over 9 years ago)
- Last Synced: 2023-03-23T02:06:14.579Z (over 1 year ago)
- Language: Python
- Size: 168 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
PROJECT SUPERCEDED
------------------
This project is superceeded by 'Vext' it is truely cross platform and makes using the system Gtk, Qt
as simple as ```pip install vext.pygtk``` ```pip install vext.pyqt4```https://github.com/stuaxo/vext
add-dist-packagte README
------------------------Easily manage system packages in virtual environments.
Install:
$ pip install -e git+https://github.com/stuaxo/add-dist-package.git#egg=add-dist-package
Operating System Support:
Linux:
Python 2.7 - Tested, seems to work OK
Python 3.x - UntestedWindows:
Before Vista - Uses symlinks so will not work (possibly a solution using .pth files might work)
Vista and Later - May work (untested)OSX:
Untested - likely to work.Options:
-a --list-available
Lists system python packages available for symlinking.-i --install package [package ...]
Create a symlink in to a one of the packages in the system python.-u --uninstall package [package ...]
Remove symlinks in the virtualenv to system python.--virtualenv
Specify a virtualenv directory.Defaults to the VIRTUAL_ENV environment variable, which is set when you
are in a virtual environment.Examples:
Activate your virtualenv and make sure add-dist-env is installed.Gtk2:
add-dist-package -i glib gobject gtk-2.0 pygtk.pth cairoGtk3 (Introspection repository):
add-dist-package -i giThanks:
Stackoverflow answers such as these:
http://stackoverflow.com/questions/3580520/python-virtualenv-gtk-2-0Copying System Packages into Virtualenv r/python
http://www.reddit.com/r/Python/comments/1394dz/copying_system_packages_into_virtualenv/
For expressing that such a thing was needed.License:
License is MIT style permissive, the same as virtualenv.