Commits

Christophe Chauvet committed bbe3a29

Add setup.py and setup.cfg files

  • Participants
  • Parent commits 69b7fce

Comments (0)

Files changed (2)

+[build_sphinx]
+all_files = 1
+build-dir = dist/doc
+source-dir = doc/
+
+[egg_info]
+tag_build = dev
+tag_date = false
+
+[upload_docs]
+upload-dir = dist/doc/html
+
+[upload_sphinx]
+upload-dir = dist/doc/html
+
+[aliases]
+release = egg_info -RDb ''
+doc = build_sphinx
+dist = build_sphinx sdist bdist_egg
+
+# -*- coding: utf-8 -*-
+import os
+import codecs
+
+from distribute_setup import use_setuptools
+use_setuptools()
+
+from setuptools import setup, find_packages
+
+from fabric.contrib import debian
+
+# Create directories to compile documentation
+if not os.path.exists('dist/doc/html'):
+    os.makedirs('dist/doc/html')
+
+long_description = codecs.open('README.rst', "r", "utf-8").read()
+
+setup(
+    name=debian.__appname__,
+    version=debian.__version__,
+    url=debian.__url__,
+    download_url=debian.__download__,
+    license=debian.__license__,
+    author=debian.__author__,
+    author_email=debian.__email__,
+    description='Fabric extension: debian',
+    long_description=long_description,
+    zip_safe=False,
+    classifiers=[
+        'Development Status :: 3 - Alpha',
+        'Environment :: Console',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: BSD License',
+        'Operating System :: OS Independent',
+        'Programming Language :: Python',
+        'Topic :: Utilities',
+        'Topic :: System :: Systems Administration',
+        'Topic :: System :: Installation/Setup',
+    ],
+    platforms='any',
+    packages=find_packages(),
+    include_package_data=True,
+    install_requires=['Fabric>=0.9'],
+    namespace_packages=['fabric', 'fabric.contrib'],
+    entry_points={
+        "distutils.commands": [],
+    },
+)
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: