|
Revision 10489, 1.1 kB
(checked in by dave, 9 months ago)
|
|
add BEP writer. Ripped off from David Goodger.
|
| Line | |
|---|
| 1 | # By the fires of hades! docutils searches for readers and transforms that are in the same directory |
|---|
| 2 | # rather than using the full search path. Thus it won't find my readers and transforms unless |
|---|
| 3 | # I put them directly into the docutils package. I'll think of a better way to do this later. --Dave |
|---|
| 4 | |
|---|
| 5 | #import sys |
|---|
| 6 | #try: |
|---|
| 7 | # from distutils.core import setup |
|---|
| 8 | #except ImportError: |
|---|
| 9 | # print 'Error: The "distutils" standard module, which is required for the ' |
|---|
| 10 | # print 'installation of Docutils, could not be found. You may need to ' |
|---|
| 11 | # print 'install a package called "python-devel" (or similar) on your ' |
|---|
| 12 | # print 'system using your package manager.' |
|---|
| 13 | # sys.exit(1) |
|---|
| 14 | # |
|---|
| 15 | #setup(name="docutils BEP extensions", |
|---|
| 16 | # version="1.0", |
|---|
| 17 | # description = "scripts to process BitTorrent Enhancement Proposals rst files into html files", |
|---|
| 18 | # author="BitTorrent, Inc.", |
|---|
| 19 | # packages=['docutils_bep'], |
|---|
| 20 | # #package_data={'BTL.canonical': ['metadata.html', 'metadata_example.html', 'metadata_source.html']}, |
|---|
| 21 | # #ext_modules=[Extension('cmap_swig', ['BTL/cmap_swig.i'], |
|---|
| 22 | # # extra_compile_args=compilerArgs, language=lang, swig_opts=swigOpts)], |
|---|
| 23 | # ) |
|---|