From 2acccf01d3d8cef3294f6a336d829d4864d79089 Mon Sep 17 00:00:00 2001 From: David LaBissoniere Date: Mon, 9 Apr 2012 16:17:39 +0200 Subject: [PATCH] Prepare initial release --- .gitignore | 20 ++++++++++++++++++++ README | 1 + setup.py | 18 ++++++++++++++++-- 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 120000 README diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c5e9fa3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +*.kpf +*.pyc +*.swp +*.*.swp +.*.*.swo +*.log +*.pid +*.komodo* +build +dist +*.egg-info +.pydevproject +.project +/.settings +/.metadata +dropin.cache +eggs/ +parts/ +develop-eggs/ +.idea diff --git a/README b/README new file mode 120000 index 0000000..92cacd2 --- /dev/null +++ b/README @@ -0,0 +1 @@ +README.rst \ No newline at end of file diff --git a/setup.py b/setup.py index c2f3bd9..76f0300 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,21 @@ #!/usr/bin/env python +import os +import codecs + +VERSION = "0.1.0" + +if os.path.exists("README.rst"): + long_description = codecs.open('README.rst', "r", "utf-8").read() +else: + long_description = "See http://github.com/nimbusproject/kazoo" + + setupdict = { 'name' : 'kazoo', - 'version' : '0.1', + 'version' : VERSION, 'description' : 'ZooKeeper client that supports async frameworks', + 'long_description' : long_description, 'license' : 'Apache 2.0', 'author' : 'Nimbus team', 'author_email' : 'nimbus@mcs.anl.gov', @@ -17,7 +29,9 @@ "Topic :: Communications", "Topic :: System :: Distributed Computing", "Topic :: System :: Networking", - "Topic :: Software Development :: Libraries :: Python Modules"], + "Topic :: Software Development :: Libraries :: Python Modules",], + "url" : "https://github.com/nimbusproject/kazoo", + "download_url" : "http://www.nimbusproject.org/downloads/kazoo-%s.tar.gz" % VERSION, } from setuptools import setup, find_packages