From 06be2b1351c3ebabe4d2a8b7125f002eb5fb61b9 Mon Sep 17 00:00:00 2001 From: Ralph Heinkel Date: Tue, 10 Feb 2015 12:30:27 +0100 Subject: [PATCH] added setup.py file so that we can install 'q' directly from git or pypi (if uploaded there) --- setup.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..8ec5eae3 --- /dev/null +++ b/setup.py @@ -0,0 +1,30 @@ +import os +from distutils.core import setup + +here = os.path.dirname(os.path.abspath(__file__)) +f = open(os.path.join(here, 'README.markdown')) +long_description = f.read() +f.close() + + +setup(name='q', + version='1.5.0', + description='Run SQL directly on CSV or TSV files', + long_description=long_description, + author='Harel Ben-Attia', + author_email='harelba [at] gmail.com,', + url='https://github.com/harelba/q', + # license='MIT license', - not specified yet + platforms=['unix', 'linux', 'cygwin', 'win32'], + scripts=['bin/q'], + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + # 'License :: OSI Approved :: MIT License', + 'Operating System :: POSIX', + 'Operating System :: Microsoft :: Windows', + 'Programming Language :: Python', + # 'Programming Language :: Python :: 3', + 'Intended Audience :: Developers', + 'Topic :: Software Development :: Libraries', + ],)