Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260322 - dev-python/twisted-8.1.0: init script needs to export PYTHONPATH
Summary: dev-python/twisted-8.1.0: init script needs to export PYTHONPATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 23:52 UTC by Peter Abrahamsen
Modified: 2009-09-10 03:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Abrahamsen 2009-02-25 23:52:00 UTC
The conf.d file for twistd shows that you can specify a PYTHONPATH, but it's never exported to twistd in the init script.

Reproducible: Always

Steps to Reproduce:
1. Place a module outside your standard sys.path
2. Change PYTHONPATH in /etc/conf.d/twistd to include the directory holding that module
3. Import from the module in a .tac file
4. Try to start your app via the twistd init script
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-10 03:36:04 UTC
Fixed.