buildout+setuptools and git project fork

In project I have used some 3rd party application. Now it looks it’s no more supported, so I have created a fork of this application on git for my needs.

How should I configure buildout so I will be able to make some changes in this application and then use it in my project? Formerly this application was in dependencies of setup.py. Right I am not sure how should I organize buildout and setuptools configuration.

  • Buildout/Mr. Developer randomly failing to pull from Git
  • Use a non-newest git checkout in a buildout-based Plone site
  • How to structure a python projects with shared sub apps using git and buidout without symbolic links
  • How can I remove all traces of a file from a git repository without removing it from the directory?
  • GIT - copy newest branch to another directory
  • Git Merge not marking up all differences in conflicting text files
  • How to resume a git pull/clone after a hung up unexpectedly?
  • Selectively merging *parts* of a file with git?
  • arc diff including all changes in submodules
  • One Solution collect form web for “buildout+setuptools and git project fork”

    If you want to continue development on the Git package, I’d use mr.developer to manage the package. mr.developer will mark the egg as a developer egg, which means it’ll not be pulled from PyPI but used locally.

    Moreover, mr.developer will manage the working copy for you:

    [buildout]
    extensions = mr.developer
    auto-checkout = your.package.name
    
    [sources]
    your.package.name = git git@github.com:yourgitname/your.package.name.git
    

    Now, when running your buildout, mr.developer will automatically check out your.package.name from git into the src/ subdirectory, run it’s setup.py to make a development egg, and buildout will use that egg to satisfy dependencies on it.

    If you need a different sources directory, use the sources-dir option:

    [buildout]
    # ...
    sources-dir = ${buildout:directory}/some-other/directory
    
    Git Baby is a git and github fan, let's start git clone.