From af2ca1fa8076a5ab78f1162aaac819bb8e826ca3 Mon Sep 17 00:00:00 2001 From: "Askeing Yen (fyen)" Date: Wed, 13 Apr 2016 16:00:23 -0700 Subject: Create a Python package of Tidy --- python/tidy/setup.py | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 python/tidy/setup.py (limited to 'python/tidy/setup.py') diff --git a/python/tidy/setup.py b/python/tidy/setup.py new file mode 100644 index 00000000000..7221e6c1463 --- /dev/null +++ b/python/tidy/setup.py @@ -0,0 +1,40 @@ +import os +from setuptools import setup, find_packages + + +VERSION = '0.0.1' + +install_requires = [ +] + +here = os.path.dirname(os.path.abspath(__file__)) +# get documentation from the README and HISTORY +try: + with open(os.path.join(here, 'README.rst')) as doc: + readme = doc.read() +except: + readme = '' + +try: + with open(os.path.join(here, 'HISTORY.rst')) as doc: + history = doc.read() +except: + history = '' + +long_description = readme + '\n\n' + history + +if __name__ == '__main__': + setup( + name='servo_tidy', + version=VERSION, + description='The tidy package of Servo', + long_description=long_description, + keywords='mozilla servo tidy ', + author='The Servo Project Developers', + author_email='dev-servo@lists.mozilla.org', + url='https://github.com/servo/servo_tindy', + packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), + package_data={}, + install_requires=install_requires, + zip_safe=False, + ) -- cgit v1.2.3