File: setup.py

package info (click to toggle)
zodb 3.6.0-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,260 kB
  • ctags: 8,270
  • sloc: python: 44,148; ansic: 7,528; xml: 899; makefile: 117; perl: 37
file content (29 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (2)
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
#! /usr/bin/env python
#
# THIS IS A GENERATED FILE.  DO NOT EDIT THIS DIRECTLY.

# Add the Support/ directory to sys.path to get our support code:
#
import os
import sys

try:
    __file__
except NameError:
    # Python 2.2.x does not have __file__ for scripts.
    __file__ = sys.argv[0]

here = os.path.dirname(os.path.realpath(__file__))
support_dir = os.path.join(here, '..', '..', 'Support')
support_dir = os.path.normpath(support_dir)
if os.path.isdir(support_dir):
    sys.path.insert(0, support_dir)

import zpkgsetup.setup


context = zpkgsetup.setup.SetupContext(
    'transaction', None, __file__)

context.initialize()
context.setup()