diff options
author | elie <elie> | 2013-01-06 21:19:01 +0000 |
---|---|---|
committer | elie <elie> | 2013-01-06 21:19:01 +0000 |
commit | 1892011c1c643dbf31b76d333069fe46b0d2cfe3 (patch) | |
tree | 42002abad0b7572a15243395d928201b7f01a890 | |
parent | 588bcfaf041a6ee1ccbec5e4bfbca5a9972cc1c4 (diff) | |
download | pyasn1-1892011c1c643dbf31b76d333069fe46b0d2cfe3.tar.gz |
use platform-neutral path
-rw-r--r-- | setup.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -4,6 +4,8 @@ A pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208). """ +import os + classifiers = """\ Development Status :: 5 - Production/Stable Environment :: Console @@ -68,7 +70,7 @@ doclines = [ x.strip() for x in __doc__.split('\n') if x ] params.update( { 'name': 'pyasn1', - 'version': open('pyasn1/__init__.py').read().split('\'')[1], + 'version': open(os.path.join('pyasn1','__init__.py')).read().split('\'')[1], 'description': doclines[0], 'long_description': ' '.join(doclines[1:]), 'maintainer': 'Ilya Etingof <ilya@glas.net>', @@ -85,6 +87,6 @@ params.update( { 'pyasn1.codec.ber', 'pyasn1.codec.cer', 'pyasn1.codec.der' ] - } ) +} ) setup(**params) |