|
|
# Base packages for installation |
# Base packages for installation |
scripts = ['scripts/peak'] |
scripts = ['scripts/peak'] |
|
modules = [] |
packages = [ |
packages = [ |
'peak', 'peak.api', 'peak.binding', 'peak.config', 'peak.model', |
'peak', 'peak.api', 'peak.binding', 'peak.config', 'peak.model', |
'peak.naming', 'peak.naming.factories', 'peak.net', 'peak.running', |
'peak.naming', 'peak.naming.factories', 'peak.net', 'peak.running', |
import sys |
import sys |
|
|
if sys.version_info < (2,3): |
if sys.version_info < (2,3): |
# Install datetime module if we're not on 2.3 |
# Install datetime and csv if we're not on 2.3 |
|
|
packages += ['datetime'] |
packages += ['datetime'] |
if include_tests: |
if include_tests: |
packages += ['datetime.tests'] |
packages += ['datetime.tests'] |
|
|
|
modules += ['csv'] |
|
extensions += [ |
|
Extension('_csv', ['src/_csv.c']) |
|
] |
|
|
import os |
import os |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
execfile('src/setup/common.py') |
execfile('src/setup/common.py') |
|
|
setup( |
setup( |