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')
12 read_obj
= open('var_file', 'r')
13 lines
= read_obj
.readlines()
15 data_location
= os
.path
.join(target
, '.docutils_nest')
19 setup(name
="docutils_nest",
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"],