cournape / numscons

Using scons within distutils

This URL has Read+Write access

cournape (author)
Thu May 07 21:46:27 -0700 2009
commit  22ed2a89ecda20337e6b076420420d7ba04e4d8e
tree    735fe70c67f91ab149e9c9ca4a84c1f36962fc21
parent  91a13c2aab213f83e8395eb89defbb08e2a5d26a
numscons / setupegg.py
100755 23 lines (18 sloc) 0.605 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python
import os
import shutil
 
from setuptools import setup
 
# BEFORE importing distutils, remove MANIFEST. distutils doesn't properly
# update it when the contents of directories change.
if os.path.exists('MANIFEST'): os.remove('MANIFEST')
 
# Main setup method
import release as R
 
R.write_version()
setup(name = R.NAME,
      version = R.build_fverstring(),
      description = R.DESCRIPTION,
      author = R.AUTHOR,
      author_email = R.AUTHOR_EMAIL,
      packages = R.PACKAGES,
      package_data = R.PACKAGE_DATA,
      include_package_data = True)