All, I think I'm getting an error with setup.py because $LastChangeRevision$ isn't defined? == details == I'm trying to update python-pefile. With the lastest released tarball it fails when I run "python setup.py build". I assume it is a local openSUSE error? The setup.py file has: download_url = 'http://pefile.googlecode.com/files/pefile-%s.tar.gz' % pefile.__version__, in pefile.py: __revision__ = "$LastChangedRevision$" __version__ = '1.2.10-%d' % int( __revision__[21:-2] ) But I have no idea what $LastChangeRevision$ is or where it is defined. Here's the error (which I get both as a manual build and via "osc build"): === python setup.py build Traceback (most recent call last): File "setup.py", line 8, in <module> import pefile File "/home/gaf/obs/home:gregfreemyer:Tools-for-forensic-boot-cd/python-pefile/pefile-pefile-1.2.10-139/pefile.py", line 25, in <module> __version__ = '1.2.10-%d' % int( __revision__[21:-2] ) ValueError: invalid literal for int() with base 10: '' === Thanks Greg #!/usr/bin/env python try: from setuptools import setup except ImportError, excp: from distutils.core import setup import pefile import os os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true' os.environ['COPYFILE_DISABLE'] = 'true' setup(name = 'pefile', version = pefile.__version__, description = 'Python PE parsing module', author = pefile.__author__, author_email = pefile.__contact__, url = 'http://code.google.com/p/pefile/', download_url = 'http://pefile.googlecode.com/files/pefile-%s.tar.gz' % pefile.__version__, platforms = ['any'], classifiers = ['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules'], long_description = "\n".join(pefile.__doc__.split('\n')), py_modules = ['pefile', 'peutils'], packages = ['ordlookup'] ) -- Greg Freemyer -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org