1 #!/usr/bin/env python
\r
2 #-------------------------------------------------------------------------------
\r
7 from setuptools import setup
\r
8 #from distutils.core import setup
\r
9 #-------------------------------------------------------------------------------
\r
10 if 'upload' in sys.argv:
\r
15 os.environ['HOME'] = '..\\'
\r
16 #-------------------------------------------------------------------------------
\r
17 fpath = lambda x : os.path.join(*x.split('/'))
\r
18 #-------------------------------------------------------------------------------
\r
19 PYPI_URL = 'http://pypi.python.org/pypi/xmlbuilder'
\r
20 ld = open(fpath('xmlbuilder/docs/long_descr.rst')).read()
\r
21 ld = ld.replace('&','&').replace('<','<').replace('>','>')
\r
23 name = "xmlbuilder",
\r
24 fullname = "xmlbuilder",
\r
26 packages = ["xmlbuilder"],
\r
27 package_dir = {'xmlbuilder':'xmlbuilder'},
\r
29 author_email = "koder_dot_mail@gmail_dot_com",
\r
30 maintainer = 'koder',
\r
31 maintainer_email = "koder_dot_mail@gmail_dot_com",
\r
32 description = "Pythonic way to create xml files",
\r
35 test_suite = "xml_buider.tests",
\r
37 download_url = PYPI_URL,
\r
38 long_description = ld,
\r
39 #include_package_data = True,
\r
40 #package_data = {'xmlbuilder':["docs/*.rst"]},
\r
41 #data_files = [('', ['xmlbuilder/docs/long_descr.rst'])]
\r
43 #-------------------------------------------------------------------------------
\r