-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added secondary setup.py to make it easier to upload to pypi
- Loading branch information
Showing
4 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,7 @@ missing | |
py-compile | ||
/itstool | ||
/itstool.1 | ||
/setup.py | ||
/MANIFEST | ||
/build | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ Makefile | |
itstool | ||
itstool.1 | ||
its/Makefile | ||
setup.py | ||
]) | ||
|
||
AC_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env python | ||
|
||
# setup.py.in is converted to setup.py by the configure script. This is not | ||
# intended as the recommended way to build and install itstool. See the INSTALL | ||
# file for details on installing with make. This file is here to make it easier | ||
# to upload itstool to pypi. | ||
|
||
from distutils.core import setup | ||
|
||
setup(name='itstool', | ||
version='@VERSION@', | ||
description='XML to PO and back again using W3C ITS rules', | ||
author='Shaun McCance', | ||
author_email='shaunm@gnome.org', | ||
url='http://itstool.org/', | ||
scripts=['itstool'], | ||
data_files=[('@DATADIR@/itstool/its', [ | ||
'its/docbook.its', | ||
'its/docbook5.its', | ||
'its/its.its', | ||
'its/mallard.its', | ||
'its/ttml.its', | ||
'its/xhtml.its', | ||
])] | ||
) |