source: TI05-delivery/trunk/components/common/setup.py @ 1541

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/trunk/components/common/setup.py@1541
Revision 1541, 681 bytes checked in by spascoe, 13 years ago (diff)

Major directory structure reorganisation.

The python source tree is now divided into 3 components: common,
server and client. Each component has it's own setup.py.

Do "python setup.py bdist_egg" to create 3 eggs for each component.

Some things in the distribution are now out of sync (e.g. documentation) but
the test cases work (I havn't tried the remote test cases).

Line 
1import sys, os
2dist_home = '../..'
3#sys.path.append(dist_home)
4
5# Get the version from ./VERSION
6version = open(os.path.join(dist_home, 'VERSION')).read()
7
8import ez_setup
9ez_setup.use_setuptools()
10
11from setuptools import setup, Command
12
13setup(name = 'ndg_delivery_common',
14      version = version,
15      description = 'Common components for NDG DeliveryService client and server',
16      author = 'Stephen pascoe',
17      author_email = 'S.Pascoe@rl.ac.uk',
18
19      zip_safe = True,
20      install_requires = ['setuptools'],
21
22      packages = ['ndg', 'ndg.delivery', 'ndg.delivery.common'],
23      namespace_packages = ['ndg', 'ndg.delivery'],
24      package_dir = {'': 'lib'},
25      )
Note: See TracBrowser for help on using the repository browser.