Permalink
Browse files

create a python egg for mcsoda

python mcsoda-setup.py  bdist_egg
this command will copy the egg file into dist/ folder

to install :
easy_install couchbase-mcsoda.egg
pip uninstall couchbase-mcsoda

Change-Id: Ic0e510a2cece115dc43e64fcc3ccff103ed37ba1
Reviewed-on: http://review.couchbase.org/12383
Reviewed-by: Farshid Ghods <farshid.ghods@gmail.com>
Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
  • Loading branch information...
1 parent 3af3b6e commit af11166a9054a2f5389e472e16762510a0e2654d @farshidce farshidce committed with farshidce Jan 15, 2012
Showing with 32 additions and 0 deletions.
  1. +32 −0 mcsoda-setup.py
View
@@ -0,0 +1,32 @@
+from distutils.core import setup
+import subprocess
+from setuptools import find_packages
+
+def get_version():
+ return "1.0.0"
+
+setup(
+ name="couchbase-mcsoda",
+ version=get_version(),
+ description="mcsoda - high performance json/binary load generator",
+ author="Couchbase Inc",
+ author_email="build@couchbase.com",
+ packages=["lib", "pytests/performance"],
+ url="http://couchbase.org/",
+ download_url="http://.../couchbase-mcsoda.tar.gz",
+ keywords=["encoding", "i18n", "xml"],
+ classifiers=[
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 2.6",
+ "Development Status :: 4 - Beta",
+ "Environment :: Other Environment",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: Apache Software License",
+ "Operating System :: OS Independent",
+ "Topic :: Software Development :: Libraries :: Python Modules",
+ ],
+# entry_points={
+# 'console_scripts': ['mcsoda = pytests.performance:main']
+# },
+ long_description=open('README').read(),
+ )

0 comments on commit af11166

Please sign in to comment.