This repository has been archived by the owner on Jul 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·56 lines (54 loc) · 2.46 KB
/
setup.py
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/python
import os
import sys
from setuptools import setup
import git_version as gv
# If using virtualenv we don't want to install
# to /usr/ which would break the install so use
# sys.exec_prefix instead
doc_install_root = sys.exec_prefix + '/share/doc'
setup(
name = "rubber",
version = gv.get_git_version(),
description = "an automated system for building LaTeX documents",
long_description = """\
This is a building system for LaTeX documents. It is based on a routine that
runs just as many compilations as necessary. The module system provides a
great flexibility that virtually allows support for any package with no user
intervention, as well as pre- and post-processing of the document. The
standard modules currently provide support for bibtex, dvips, dvipdfm, pdftex,
makeindex. A good number of standard packages are supported, including
graphics/graphicx (with automatic conversion between various formats and
Metapost compilation).\
""",
author = "Emmanuel Beffara",
author_email = "[email protected]",
url = "http://rubber.sourceforge.net/",
license = "GPL",
packages = ["rubber", "rubber.converters", "rubber.latex_modules"],
package_data = { 'rubber': ['data/modules/*.rub',
'data/rules.ini',
'data/_rubber', # Do we need this?
os.path.basename(gv.__version_file)
]
},
entry_points = { 'console_scripts': ['rubber = rubber.cmdline:script_entry_point',
'rubber-info = rubber.cmd_info:script_entry_point',
'rubber-pipe = rubber.cmd_pipe:script_entry_point',
]
},
# FIXME: Find a clean way to install info page
data_files = [ ( doc_install_root + '/man1',
[ "doc/man-en/rubber.1",
"doc/man-en/rubber-info.1",
"doc/man-en/rubber-pipe.1"
]
),
( doc_install_root + '/fr/man1',
[ "doc/man-fr/rubber.1",
"doc/man-fr/rubber-info.1",
"doc/man-fr/rubber-pipe.1"
]
)
]
)