Installing Python Script, Maintaining Reference to Python 2.6
Posted
by zfranciscus
on Stack Overflow
See other posts from Stack Overflow
or by zfranciscus
Published on 2010-04-09T22:42:19Z
Indexed on
2010/04/09
22:53 UTC
Read the original article
Hit count: 628
Hi,
I am writing a Python program that relies on version 2.6. I went through the distribution documentation: http://docs.python.org/distutils/index.html and what I have figure out so far is that I basically need to write a setup.py script. Something like:
setup(name='Distutils',
version='1.0',
description='Python Distribution Utilities',
author='My Name',
author_email='My Email',
url='some URL',
package_dir={'': 'src'},
packages=[''],
)
I would like to ensure that my program uses 2.6 interpreter library. What would be the best approach to ensure that my program uses 2.6 ? Shall I distribute python 2.6 library along with my program ? Is there any alternative approach ?
© Stack Overflow or respective owner