Basic start.

This commit is contained in:
Kenneth Reitz
2011-01-22 18:40:23 -05:00
parent e87a581c57
commit 4a14aa219f
10 changed files with 117 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
.idea
+13
View File
@@ -0,0 +1,13 @@
Wolfram is written and maintained by Kenneth Reitz and
various contributors:
Development Lead
````````````````
- Kenneth Reitz <me@kennethreitz.com>
Patches and Suggestions
```````````````````````
- A lucky someone! :)
+8
View File
@@ -0,0 +1,8 @@
History
-------
0.0.1 (2011-01-2?)
++++++++++++++++++
* Initial Release!
+13
View File
@@ -0,0 +1,13 @@
Copyright (c) 2011, Kenneth Reitz <me@kennethreitz.com>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+1
View File
@@ -0,0 +1 @@
include HISTORY.rst README.rst LICENSE AUTHORS
+17
View File
@@ -0,0 +1,17 @@
WolframAlpha API, v2, Wrapper for Python
=========================================
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
To install: ::
$ pip install wolfram
Influenced by ask/github2, hopefully. ::
from wolfram import wolf
wolf.api_key = WEIFHWIHF
+1
View File
@@ -0,0 +1 @@
* Register on PyPi
View File
Vendored
+17
View File
@@ -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')
+46
View File
@@ -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='https://github.com/kennethreitz/wolfram',
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',
),
)