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 8591975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:38:38+00:00 2026-06-11T23:38:38+00:00

If you run python setup.py develop on several packages in the same virtualenv ,

  • 0

If you run python setup.py develop on several packages in the same virtualenv, you can develop both of them without having to re-install after making changes.

I recently extracted functionality from my project into a separate package, which I am now developing in this manner.

Is there a way to express this dependency in my setup.py file, so new developers can simply run python setup.py develop once in the primary project’s directory?

  • 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-06-11T23:38:40+00:00Added an answer on June 11, 2026 at 11:38 pm

    I do believe and fear the answer to your question is simply “No”.

    setup.py just does not fit your needs. Finding tricks to do it nonetheless will probably cause more problems with new developers.

    Sadly I cannot provide perfect alternatives:

    • Loouk zc.buildout as Lukas Graf described in a comment.
    • Distribute a zipped quick start working directory with everything configured,
      if you know the platform of your devs.
    • Provide a shell script which does the whole setup.
    • Teach your devs the proper use and philosophy of setuptool (setup.py) and virtualenv,
      and have them call “setup.py develop” explicitly for every package they need it for.

    Remember explicit is better than implicit is part of the python zen.
    I would go for the last one, but YMMV.

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

Sidebar

Related Questions

ORIGINAL MESSAGE (now outdated): After running python setup.py install I get the following: Warning:
I run sudo python setup.py install to install the Mongrel2 Python support, but it
I am trying to install dateutils on OS X 10.6. When I run python
I'm trying to setup ipython.el in emacs23. I've successfully installed it (after putting python-mode.el
After successfully compiling a Python/C binding with SIP I wanted to do the same
I'm installing a package using setup.py: python setup.py install My __init__.py in the package
When I run python setup.py test the dependencies listed in tests_require in setup.py are
When I run python setup.py sdist it creates an sdist in my ./dist directory.
I'm trying to install MySQLdb for python on Cygwin. Unfortunately, when I run python
When I'm in my virtual environment, I attempt to run: pip install MySQL-python This

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.