This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author annarave
Recipients
Date 2003-08-27.15:09:14
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
When writing the setup script for a distribution, section 3.4 explains:

3.4 Installing Scripts

So far we have been dealing with pure and non-pure Python modules, which are usually not run by themselves but imported by scripts.

Scripts are files containing Python source code, intended to be started from the command line. Scripts don't require Distutils to do anything very complicated. The only clever feature is that if the first line of the script starts with #! and contains the word ``python'', the Distutils will adjust the first line to refer to the current interpreter location. 

The scripts option simply is a list of files to be handled in this way. From the PyXML setup script: 


setup (...
       scripts = ['scripts/xmlproc_parse', 'scripts/xmlproc_val']
      )

Unfortunately, this doesn't work with sdist unless you ALSO create a manifest.in file. Otherwise, it silently ignores the scripts listed in setup. bdist works just fine, so it's apparently something wrong in sdist.

Please fix this. Thank you.

Anna Ravenscroft
History
Date User Action Args
2007-08-23 14:16:31adminlinkissue796042 messages
2007-08-23 14:16:31admincreate