141
by Gustavo Niemeyer
Added setup.py script provided by Duncan McGreggor, and a new |
1 |
#!/usr/bin/env python
|
173.2.1
by Christopher Armstrong
- include storm.zope (in an automated way, to prevent further mistakes |
2 |
import os |
212
by Gustavo Niemeyer
Oops.. missed import in setup.py in the last commit. |
3 |
import re |
173.2.1
by Christopher Armstrong
- include storm.zope (in an automated way, to prevent further mistakes |
4 |
|
141
by Gustavo Niemeyer
Added setup.py script provided by Duncan McGreggor, and a new |
5 |
try: |
142.2.1
by Gustavo Niemeyer
- Started to build a cextensions module, which will offer alternative |
6 |
from setuptools import setup, Extension |
141
by Gustavo Niemeyer
Added setup.py script provided by Duncan McGreggor, and a new |
7 |
except ImportError: |
142.2.1
by Gustavo Niemeyer
- Started to build a cextensions module, which will offer alternative |
8 |
from distutils.core import setup, Extension |
141
by Gustavo Niemeyer
Added setup.py script provided by Duncan McGreggor, and a new |
9 |
|
10 |
||
180
by Gustavo Niemeyer
Added MANIFEST.in and setup.cfg files, and also changed setup.py to |
11 |
if os.path.isfile("MANIFEST"): |
12 |
os.unlink("MANIFEST") |
|
13 |
||
14 |
||
142.2.3
by Gustavo Niemeyer
- Finished implementation of the C version of ObjectInfo |
15 |
BUILD_CEXTENSIONS = False |
16 |
||
17 |
||
211
by Gustavo Niemeyer
- Updated release date and version information for 0.12. |
18 |
VERSION = re.search('version = "([^"]+)"', |
19 |
open("storm/__init__.py").read()).group(1) |
|
20 |
||
21 |
||
173.2.1
by Christopher Armstrong
- include storm.zope (in an automated way, to prevent further mistakes |
22 |
def find_packages(): |
23 |
# implement a simple find_packages so we don't have to depend on
|
|
24 |
# setuptools
|
|
25 |
packages = [] |
|
26 |
for directory, subdirectories, files in os.walk("storm"): |
|
27 |
if '__init__.py' in files: |
|
28 |
packages.append(directory.replace(os.sep, '.')) |
|
29 |
return packages |
|
30 |
||
211
by Gustavo Niemeyer
- Updated release date and version information for 0.12. |
31 |
|
143
by Gustavo Niemeyer
Added tutorial section about loading multiple types with one |
32 |
setup( |
33 |
name="storm", |
|
211
by Gustavo Niemeyer
- Updated release date and version information for 0.12. |
34 |
version=VERSION, |
141
by Gustavo Niemeyer
Added setup.py script provided by Duncan McGreggor, and a new |
35 |
description="Storm is an object-relational mapper (ORM) for Python developed at Canonical.", |
36 |
author="Gustavo Niemeyer", |
|
37 |
author_email="gustavo@niemeyer.net", |
|
170
by Gustavo Niemeyer
Added download_url to setup.py, to please easy_install when harvesting |
38 |
maintainer="Storm Developers", |
39 |
maintainer_email="storm@lists.canonical.com", |
|
40 |
license="LGPL", |
|
143
by Gustavo Niemeyer
Added tutorial section about loading multiple types with one |
41 |
url="https://storm.canonical.com", |
170
by Gustavo Niemeyer
Added download_url to setup.py, to please easy_install when harvesting |
42 |
download_url="https://launchpad.net/storm/+download", |
173.2.1
by Christopher Armstrong
- include storm.zope (in an automated way, to prevent further mistakes |
43 |
packages=find_packages(), |
44 |
zip_safe=False, |
|
45 |
include_package_data=True, |
|
46 |
package_data={"": ["*.zcml"]}, |
|
143
by Gustavo Niemeyer
Added tutorial section about loading multiple types with one |
47 |
classifiers=[ |
48 |
"Development Status :: 4 - Beta", |
|
49 |
"Intended Audience :: Developers", |
|
50 |
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", |
|
51 |
"Programming Language :: Python", |
|
52 |
"Topic :: Database", |
|
53 |
"Topic :: Database :: Front-Ends", |
|
54 |
"Topic :: Software Development :: Libraries :: Python Modules", |
|
55 |
],
|
|
142.2.3
by Gustavo Niemeyer
- Finished implementation of the C version of ObjectInfo |
56 |
ext_modules=(BUILD_CEXTENSIONS and |
57 |
[Extension("storm.cextensions", ["storm/cextensions.c"])]) |
|
141
by Gustavo Niemeyer
Added setup.py script provided by Duncan McGreggor, and a new |
58 |
)
|