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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:23:40+00:00 2026-05-26T08:23:40+00:00

I have the following folder structure: bootstrap.py setup.py conf/ buildout.cfg Now how do I

  • 0

I have the following folder structure:

bootstrap.py
setup.py
conf/
    buildout.cfg

Now how do I make it so that running python bootstrap.py puts the generated folders bin, eggs, parts, etc. on the root instead of under conf folder?

  • 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-26T08:23:41+00:00Added an answer on May 26, 2026 at 8:23 am

    The base directory for buildout is always the directory that the starting configuration file is found in, so in your case that’s in conf/.

    There are two work-arounds for this, one easy, one harder. The first is to just place a bare buildout.cfg file in the root, and have it include the file in conf/:

    [buildout]
    extends = conf/buildout.cfg
    

    Alternatively, you can set the *-directory options in your conf/buildout.cfg file for each of the eggs, develop-eggs, parts and bin directories:

    [buildout]
    bin-directory = ../bin
    parts-directory = ../parts
    eggs-directory = ../eggs
    develop-eggs-directory = ../develop-eggs
    

    That’ll set the these directories to the parent of your conf/ directory; e.g. the same directory your bootstrap file is in.

    However, any recipe that still refers to ${buildout:directory} will still use the conf/ directory insead of your project root dir. You cannot set that option to a relative path, you must either let buildout set it for you or specify a full path:

    [buildout]
    directory = /full/path/to/directory
    

    In my opinion, you are best off using the first option, it makes running the bootstrap script easier anyway as it by default looks for a buildout.cfg file in the current directory.

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

Sidebar

Related Questions

I have recently switched from python 2.7 to python 3.2 considering following folder structure:
Suppose I have the following (desired) folder structure: *CommonProject *Project#1 ----> CommonProject(link) *Project#2 ---->
I have the following directory structure of a project: Folder project in Eclipse: --folder
I have following folder structure: ProjectFolder/images/some images In the same folder ProjectFolder/WEB-INF/classes/com/xyz/here is java
I have got following folder structure for my domain (domain.com): /data/images (it´s subdomain name,
Trying to get a simple test perl script working. Have the following files/folder structure
I have a folder structure that contains multiple javascript files, each of these files
Multilevel relative import I have following folder structure top\ __init__.py util\ __init__.py utiltest.py foo\
I have the following folder structure to my nodeunit tests for a particular project:
I have the following folder structure: FolderA --Folder1 --Folder2 --Folder3 ... --Folder99 Folders 1

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.