removed obsolete issues (many of them fixed with AE)
[docutils.git] / sandbox / paultremblay / docutils_nest / setup.py
blob88c123e55617c208399bb823aa3b56557338a391
1 #!/usr/bin/env python
3 import os, sys
4 from distutils.core import setup
7 # get the location for the data
8 var_file_exists = os.path.isfile('var_file')
9 if not var_file_exists:
10 sys.stderr.write('Please run python configure.py first\n')
11 sys.exit(1)
12 read_obj = open('var_file', 'r')
13 lines = read_obj.readlines()
14 target = lines[0]
15 data_location = os.path.join(target, '.docutils_nest')
16 read_obj.close()
19 setup(name="docutils_nest",
20 version=".1",
21 description="Add nested inline markup to an rst file.",
22 author="Paul Tremblay",
23 author_email="phthenry@earthlink.net",
24 packages=['docutils_nest'],
25 data_files = [(data_location, ["data/configure.xml"])],
26 scripts=["scripts/docutils-nest-xml.py"],