Permalink
Browse files

solves issue #5 : implements a setup.py and MANIFEST.in

  • Loading branch information...
1 parent 3b49289 commit a19dbf2ef8c93e6fa54e5cf2cf605b2a573d55cd @adregner committed Jul 12, 2012
Showing with 52 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +4 −0 MANIFEST.in
  3. +44 −0 setup.py
View
@@ -12,6 +12,10 @@ sdist
develop-eggs
.installed.cfg
+# By-product of setup.py
+README
+MANIFEST
+
# Installer logs
pip-log.txt
View
@@ -0,0 +1,4 @@
+include COPYING
+include README
+include setup.py
+recursive-include clouddb *.py
View
@@ -0,0 +1,44 @@
+#!/usr/bin/env python -t3
+# -*- coding: utf-8 -*-
+
+# Copyright (C) 2011 by Andrew Regner <andrew@aregner.com>
+
+import os
+from distutils.core import setup
+
+from clouddb import consts
+
+setup_params = {}
+setup_params['name'] = "clouddb"
+setup_params['version'] = consts.__version__
+setup_params['description'] = "Python object oriended model-based interface to the Rackspace Cloud Databases API."
+setup_params["long_description"] = "".join([
+ "",
+ ])
+setup_params['author'] = "Andrew Regner"
+setup_params['author_email'] = "andrew@aregner.com"
+setup_params['url'] = "http://adregner.github.com/python-clouddb/"
+setup_params['license'] = "MIT"
+#setup_params['scripts'] = [
+# "",
+# ]
+setup_params['packages'] = [
+ "clouddb",
+ "clouddb.api",
+ "clouddb.models",
+ ]
+setup_params['data_files'] = [
+ ("share/doc/python-%s" % setup_params['name'], [
+ "COPYING",
+ "README",
+ ]),
+ ]
+#setup_params['requires'] = [
+# "",
+# ]
+
+# make a link to the readme file so we can pretend it is normal
+if not os.path.isfile("README"):
+ os.link("README.md", "README")
+
+setup(**setup_params)

0 comments on commit a19dbf2

Please sign in to comment.