methew / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

Incorrect source when creating a spec file with setuptools #369

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

# pip install -d pyodbc
# python2.7 setup.py bdist_rpm --spec-only
#  grep Source0 pyodbc-3.0.7/dist/pyodbc.spec
Source0: pyodbc-%{unmangled_version}.tar.gz

What is the expected output? What do you see instead?

the source must match the original package, in this case pip downloads a zip 
file but then setuptools looks for a tar.gz. I think setuptools does not 
support zip files. Perhaps uploading a tar.gz version to pypi would solve the 
problem

What version of the product are you using? On what operating system?

pyodbc 3.0.7
Centos 6.4

Please provide any additional information below.

Original issue reported on code.google.com by raul.mac...@gmail.com on 10 Jun 2014 at 9:31