~iffy/storm/stringbug

141 by Gustavo Niemeyer
Added setup.py script provided by Duncan McGreggor, and a new
1
#!/usr/bin/env python
2
3
try:
142.2.1 by Gustavo Niemeyer
- Started to build a cextensions module, which will offer alternative
4
    from setuptools import setup, Extension
141 by Gustavo Niemeyer
Added setup.py script provided by Duncan McGreggor, and a new
5
except ImportError:
142.2.1 by Gustavo Niemeyer
- Started to build a cextensions module, which will offer alternative
6
    from distutils.core import setup, Extension
141 by Gustavo Niemeyer
Added setup.py script provided by Duncan McGreggor, and a new
7
8
9
setup(name="storm",
10
    version="0.9",
11
    description="Storm is an object-relational mapper (ORM) for Python developed at Canonical.",
12
    author="Gustavo Niemeyer",
13
    author_email="gustavo@niemeyer.net",
14
    url="https://storm.canonical.com/",
15
    packages=[
16
        "storm",
17
        "storm.databases",
18
    ],
142.2.1 by Gustavo Niemeyer
- Started to build a cextensions module, which will offer alternative
19
    ext_modules=[
20
        Extension("storm.cextensions", ["storm/cextensions.c"])
21
    ],
141 by Gustavo Niemeyer
Added setup.py script provided by Duncan McGreggor, and a new
22
)