diff --git a/.hgignore b/.hgignore index 8e28f00ad2..2ba6510b3a 100644 --- a/.hgignore +++ b/.hgignore @@ -2,3 +2,6 @@ syntax: glob .hgignore *.pyc *~ +build/* +dist/* +MANIFEST diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000000..2bdae701d1 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include LICENSE +include doc/* diff --git a/setup.py b/setup.py new file mode 100644 index 0000000000..0f26c73a31 --- /dev/null +++ b/setup.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python + +from distutils.core import setup +import os + +execfile(os.path.join('trytond', 'version.py')) + +setup(name=PACKAGE, + version=VERSION, + description='Tryton server', + author='B2CK', + author_email='info@b2ck.com', + url=WEBSITE, + packages=[ + 'trytond', + 'trytond.ir', + 'trytond.ir.module', + 'trytond.ir.ui', + 'trytond.osv', + 'trytond.report', + 'trytond.res', + 'trytond.tools', + 'trytond.webdav', + 'trytond.web_service', + 'trytond.wizard', + 'trytond.wkf_service', + 'trytond.workflow', + ], + package_data={ + 'trytond': ['init.sql'], + 'trytond.ir': ['*.xml'], + 'trytond.ir.module': ['*.xml'], + 'trytond.ir.ui': ['*.xml'], + 'trytond.res': ['*.xml'], + 'trytond.webdav': ['*.xml'], + 'trytond.workflow': ['*.xml'], + }, + scripts=['trytond.py'], + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: No Input/Output (Daemon)', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: GNU General Public License Version 2 (GPL-2)', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Software Development :: Libraries :: Application Frameworks', + ], + license=LICENSE, +)