File: setup.py

package info (click to toggle)
pyasn1 0.0.8a-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 356 kB
  • ctags: 959
  • sloc: python: 3,800; makefile: 5
file content (35 lines) | stat: -rw-r--r-- 976 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python
import sys

def howto_install_setuptools():
    print """Error: You need setuptools Python package!

It's very easy to install it, just type (as root on Linux):
   wget http://peak.telecommunity.com/dist/ez_setup.py
   python ez_setup.py
"""

try:
    from setuptools import setup
except ImportError:
    for arg in sys.argv:
        if "egg" in arg:
            howto_install_setuptools()
            sys.exit(1)
    from distutils.core import setup

setup(name="pyasn1",
      version="0.0.8a",
      description="ASN.1 library for Python",
      author="Ilya Etingof",
      author_email="ilya@glas.net ",
      url="http://sourceforge.net/projects/pyasn1/",
      packages = [ 'pyasn1',
                   'pyasn1.v1',
                   'pyasn1.v1.type',
                   'pyasn1.v1.codec',
                   'pyasn1.v1.codec.ber',
                   'pyasn1.v1.codec.cer',
                   'pyasn1.v1.codec.der' ],
      license="BSD"
      )