From 168c1136023e81df93f7c1ea69e25ebfe24e0a61 Mon Sep 17 00:00:00 2001 From: Blake Eggleston Date: Sun, 25 Nov 2012 18:56:38 -0800 Subject: [PATCH] adding setuptools stuff --- MANIFEST.in | 5 +++++ cqlengine/__init__.py | 2 ++ setup.py | 43 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 MANIFEST.in create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..d7e1cb61 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,5 @@ +include AUTHORS +include LICENSE +include README.md +recursive-include cqlengine * + diff --git a/cqlengine/__init__.py b/cqlengine/__init__.py index 1af8944a..0a826654 100644 --- a/cqlengine/__init__.py +++ b/cqlengine/__init__.py @@ -1,3 +1,5 @@ from cqlengine.columns import * from cqlengine.models import Model +__version__ = '0.0.1-ALPHA' + diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..afd921b1 --- /dev/null +++ b/setup.py @@ -0,0 +1,43 @@ +from setuptools import setup, find_packages + +version = '0.0.1-ALPHA' + +long_desc = """ +cqlengine is a Cassandra CQL ORM for Python in the style of the Django orm and mongoengine + +[Documentation](https://github.com/bdeggleston/cqlengine/wiki/Documentation) + +[Report a Bug](https://github.com/bdeggleston/cqlengine/issues) + +[Users Mailing List](https://groups.google.com/forum/?fromgroups#!forum/cqlengine-users) + +[Dev Mailing List](https://groups.google.com/forum/?fromgroups#!forum/cqlengine-dev) + +**NOTE: cqlengine is in alpha and under development, some features may change (hopefully with notice). Make sure to check the changelog and test your app before upgrading** +""" + +setup( + name='cqlengine', + version=version, + description='Cassandra CQL ORM for Python in the style of the Django orm and mongoengine', + long_description=long_desc, + classifiers = [ + "Development Status :: 3 - Alpha", + "Environment :: Web Environment", + "Environment :: Plugins", + "License :: OSI Approved :: BSD License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 2.6", + "Programming Language :: Python :: 2.7", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Software Development :: Libraries :: Python Modules", + ], + keywords='cassandra,cql,orm', + author='Blake Eggleston', + author_email='bdeggleston@gmail.com', + url='https://github.com/bdeggleston/cqlengine', + license='BSD', + packages=find_packages(), + include_package_data=True, +) +