diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..928e481 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,13 @@ +Wolfram is written and maintained by Kenneth Reitz and +various contributors: + +Development Lead +```````````````` + +- Kenneth Reitz + + +Patches and Suggestions +``````````````````````` + +- A lucky someone! :) \ No newline at end of file diff --git a/HISTORY.rst b/HISTORY.rst new file mode 100644 index 0000000..dc6204c --- /dev/null +++ b/HISTORY.rst @@ -0,0 +1,8 @@ +History +------- + +0.0.1 (2011-01-2?) +++++++++++++++++++ + +* Initial Release! + diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..4506cce --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include HISTORY.rst README.rst LICENSE AUTHORS \ No newline at end of file diff --git a/TODO.rst b/TODO.rst new file mode 100644 index 0000000..5592a8f --- /dev/null +++ b/TODO.rst @@ -0,0 +1 @@ +* Register on PyPi \ No newline at end of file diff --git a/fabfile.py b/fabfile.py new file mode 100644 index 0000000..0138e4d --- /dev/null +++ b/fabfile.py @@ -0,0 +1,17 @@ +import os +from fabric.api import * + +os.f +def scrub(): + """ Death to the bytecode! """ + local('rm -fr dist build') + local("find . -name \"*.pyc\" -exec rm '{}' ';'") + +#def docs(): +# """Build docs.""" +# os.system('make html') +# os.chdir('_build/html') +# os.system('sphinxtogithub .') +# os.system('git add -A') +# os.system('git commit -m \'documentation update\'') +# os.system('git push origin gh-pages') \ No newline at end of file diff --git a/reqs.txt b/reqs.txt new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..7c24c80 --- /dev/null +++ b/setup.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +import os +import sys + +from distutils.core import setup + + +def publish(): + """Publish to PyPi""" + os.system("python setup.py sdist upload") + +if sys.argv[-1] == "publish": + publish() + sys.exit() + +required = [] + +setup( + name='wolfram', + version='0.0.1', + description='Python wrapper for the Wolfram Alpha API, v2', + long_description=open('README.rst').read() + '\n\n' + + open('HISTORY.rst').read(), + author='Kenneth Reitz', + author_email='me@kennethreitz.com', + url='http://tablib.org', + packages= [ + 'wolfram', + ], + install_requires=required, + license='MIT', + classifiers=( + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', + 'Natural Language :: English', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python', + # 'Programming Language :: Python :: 2.5', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + # 'Programming Language :: Python :: 3.0', + # 'Programming Language :: Python :: 3.1', + ), +)