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