problem with distutil....

Gerhard Häring gerhard at bigfoot.de
Fri Jun 7 06:22:56 EDT 2002


Uwe Schmitt wrote in comp.lang.python:
> Hi, I use the following setup.py for generating a distribution:
> 
>     from distutils.core import setup
>     setup(name="graph",
> 	  version="1.0", 
> 	  author="Uwe Schmitt",
> 	  author_email="uwe.schmitt at procoders.net",
> 	  url="http://www.procoders.net",
> 	  py_modules=["graph"])
> 
> The module to distribute is graph.py and is located in the same
> directory as setup.py.
> When I do "python setup.py sdist" a dist-folder and a .tar.gz-file
> are generated. But when I unpack this tar.gz, I cant find the module
> graph.py...

Works for me. I tested with _only_ setup.py and graph.py, no other
fancy stuff like MANIFEST* lying around, and it worked.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9  3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list