Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 925997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:36:40+00:00 2026-05-15T19:36:40+00:00

Being new to the python games I seem to have missed out on some

  • 0

Being new to the python games I seem to have missed out on some knowledge on how you can develop on a program but also keep it in your live environment.

Programs like gpodder can be run directly from the source checkout which is really handy however others want to be “installed” to run.

A lot of programs are distributed with a setup.py with instructions to run “python ./setup.py install” as root which will put stuff somewhere in your file-system. There are even install commands like “develop” which seem to hold the promise of what I want. So I tried:

export PYTHONPATH=/home/alex/python
python ./setup.py develop --install-dir=/home/alex/python

Which downloaded a bunch of stuff locally and seems magically ensure the application I’m hacking on is still being run out of the src tree. So I guess my roundabout question is is this the correct way of developing python code? How do things like easy_install and pip factor into this?

So I tried the following:

 python /usr/share/pyshared/virtualenv.py /home/alex/src/goobook
 cd /home/alex/src/goobook/googbook.git
 /home/alex/src/goobook/bin/python ./setup.py develop

And finally linked the program in question to my ~/bin

 cd /home/alex/src/goobook
 linkbin.pl bin/goobook

However invocation throws up a load of extra chatter which seems to imply it’s wrong:


17:17 alex@socrates/i686 [goobook] >goobook --help
/home/alex/bin/goobook:5: UserWarning: Module pkg_resources was already imported from        /home/alex/src/goobook/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py, but /home/alex/src/goobook/lib/python2.5/site-packages/distribute-0.6.10-py2.5.egg is being added to sys.path
  from pkg_resources import load_entry_point
/home/alex/bin/goobook:5: UserWarning: Module site was already imported from /home/alex/src/goobook/lib/python2.5/site.pyc, but /home/alex/src/goobook/lib/python2.5/site-packages/distribute-0.6.10-py2.5.egg is being added to sys.path
  from pkg_resources import load_entry_point

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T19:36:41+00:00Added an answer on May 15, 2026 at 7:36 pm

    Install:

    http://pypi.python.org/pypi/virtualenv

    to set up a localized virtual environment for your libraries, and:

    http://pypi.python.org/pypi/setuptools

    i.e. “easy_install” to install new things.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Right now I have a few new applications being developed against an Oracle Database,
Being new to test based development, this question has been bugging me. How much
Being new to Cocoa, and probably not knowing all of the potential classes available
Being relatively new to the .net game, I was wondering, has anyone had any
Being really new to wx, I'm wondering if there is an IDE (especially for
Being fairly new to JavaScript, I'm unable to discern when to use each of
Being relatively new to functional programming, I expend lots of energy wondering is this
Scott Gu just posted about a new set of charting controls being distributed by
Learning WPF nowadays. Found something new today with .Net dependency properties. What they bring
Being stuck with a legacy database schema that no longer reflects your data model

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.