The Artima Developer Community
Sponsored Link

Python Buzz Forum
Using setuptools features with distutils scripts

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bob Ippolito

Posts: 255
Nickname: etrepum
Registered: Nov, 2003

Bob Ippolito uses MacPython too much
Using setuptools features with distutils scripts Posted: Jan 18, 2006 4:59 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Bob Ippolito.
Original Post: Using setuptools features with distutils scripts
Feed Title: Bob's Rants
Feed URL: http://www.pycs.net/bob/weblog/rss.xml
Feed Description: from __future__ import *
Latest Python Buzz Posts
Latest Python Buzz Posts by Bob Ippolito
Latest Posts From Bob's Rants

Advertisement
A quick and dirty way to use setuptools commands (such as develop, bdist_egg, etc.) given a standard distutils setup.py file is to just add an "import setuptools" statement to the top of the script. This can also be done without modifying the setup.py as such: python -c "import setuptools; execfile('setup.py')" develop It would be cool if [...]

Read: Using setuptools features with distutils scripts

Topic: Single-line setuptools install Previous Topic   Next Topic Topic: Zope Product development structure for the new era

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use