diff options
author | elie <elie> | 2010-07-08 21:12:34 +0000 |
---|---|---|
committer | elie <elie> | 2010-07-08 21:12:34 +0000 |
commit | 85387b3d66c8639a023e1cdc67caa4ee67803371 (patch) | |
tree | 1044411cd1a8c63cb77e71530b25d685e2ead562 | |
parent | 582ce84f9e49d2f83cc988caa62e8ed4e36ccd06 (diff) | |
download | pyasn1-git-85387b3d66c8639a023e1cdc67caa4ee67803371.tar.gz |
switched to MANIFEST template
updated setup() keywords
fix to egg detection
-rw-r--r-- | MANIFEST.in | 4 | ||||
-rw-r--r-- | setup.py | 19 |
2 files changed, 14 insertions, 9 deletions
diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..94a21cc --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include CHANGES README LICENSE THANKS TODO +recursive-include examples *.py +recursive-include test *.py +recursive-include docs *.txt *.html @@ -1,5 +1,6 @@ #!/usr/bin/env python import sys +import string def howto_install_setuptools(): print """Error: You need setuptools Python package! @@ -13,22 +14,22 @@ try: from setuptools import setup except ImportError: for arg in sys.argv: - if "egg" in arg: + if string.find(arg, 'egg') == -1: howto_install_setuptools() sys.exit(1) from distutils.core import setup -setup(name="pyasn1", - version="0.0.11a", - description="ASN.1 library for Python", - author="Ilya Etingof", - author_email="ilya@glas.net ", - url="http://sourceforge.net/projects/pyasn1/", +setup(name = 'pyasn1', + version = '0.0.11a', + description = 'ASN.1 types and codecs', + author = 'Ilya Etingof', + author_email = 'ilya@glas.net', + url = 'http://sourceforge.net/projects/pyasn1/', + license = 'BSD', packages = [ 'pyasn1', 'pyasn1.type', 'pyasn1.codec', 'pyasn1.codec.ber', 'pyasn1.codec.cer', - 'pyasn1.codec.der' ], - license="BSD" + 'pyasn1.codec.der' ] ) |