From f6ec7720c7009f2e0265853734354e178e071545 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Wed, 3 Nov 2010 19:05:44 +0000 Subject: [PATCH] Add setup.py --- setup.py | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..0463e6a --- /dev/null +++ b/setup.py @@ -0,0 +1,36 @@ +from distutils.core import setup + +setup( + name='py-i2phosts', + version='0.0.1', + description='py-i2phosts is a host-add service application for I2P', + author='Hidden Z', + author_email='hiddenz@mail.i2p', + url='http://py-i2phosts.i2p/', + packages=['pyi2phosts', 'pyi2phosts.postkey', + 'pyi2phosts.jump', + 'pyi2phosts.extsources', + 'pyi2phosts.other', + 'pyi2phosts.lib',], + package_dir = {'pyi2phosts': 'web'}, + package_data = {'pyi2phosts.postkey': ['templates/postkey.html', 'templates/success_submission.html', + 'templates/local/policy.html'], + 'pyi2phosts.other': ['templates/base.html', 'templates/index.html', 'templates/404.html'], + 'pyi2phosts.jump': ['templates/jump*'], + 'pyi2phosts': ['templates/admin/base_site.html']}, + scripts=['py-i2phosts-master', 'py-i2phosts-builder', 'py-i2phosts-checker', + 'py-i2phosts-fetcher', 'py-i2phosts-injector', 'py-i2phosts-maint'], + data_files=[('/etc/py-i2phosts', ['conf/master.conf', 'conf/checker.conf', 'conf/fetcher.conf', + 'conf/maintainer.conf', 'conf/builder.conf', 'conf/common.conf', 'conf/injector.conf'],),], + classifiers=[ + 'Development Status :: 4 - Beta', + 'Environment :: Console', + 'Environment :: Web Environment', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'License :: OSI Approved :: GPL License', + 'Operating System :: Linux', + 'Programming Language :: Python', + 'Framework :: Django', + ], +)