Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Write Patch for setuptools and distribute / easy_install #23

Closed
pedersen opened this Issue · 4 comments

2 participants

@pedersen
Owner

This issue existed on SourceForge. The original can be viewed at https://sourceforge.net/p/turbogears2/tickets/135

@pedersen
Owner

Original Author: pedersen, Original Timestamp: 2011-12-18 04:41:55.493000

Original Body: This is a ticket that really belongs on other trackers, but it's of use to us specifically, so I'm noting it in our tracker.

easy_install will not, by default, use our index. We have to create a command line guide for users in order for it to work.

It would be nice if we could update easy_install in such a way that our setup.py script could say "this is where our package index lives, use it only".

Furthermore, easy_install should only process that option on the first package it installs. This way, if somebody uses "easy_install tg.devtools", it will download from PyPI, run the installer, and then stash away the new option, using it for subsequent packages, but ignoring that option if it appears in subsequent packages.

This would allow people to develop their own package, their own package index, and have their package refer to that without worry about what will happen when one of those packages has the option set. For example, if a developer makes a package that relies on tg.devtools, and also has a bunch of other packages, they should not be worried that their package will be uninstallable if the machine installing it is stuck behind a proxy and cannot reach the internet, only a local intranet.

I have a feeling this description is not complete, but it should help to steer a discussion in the right direction when this patch is developed.

@pedersen
Owner

Original Author: *anonymous, Original Timestamp: 2011-12-18 11:07:18.118000

Original Body: Discussing this on http://www.python.org/community/sigs/current/distutils-sig/ mailing list might help, maybe something like this is already possible.

@pedersen
Owner

Original Author: pedersen, Original Timestamp: 2012-08-24 01:31:27.451000

Original Body: - version: 2.1.4 --> 2.1.5

  • milestone: 2.2.0 --> 2.3.0
@amol-
Owner

This is not required anymore since TurboGears can now be installed directly from PyPi.

@amol- amol- closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.