Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 37 lines (31 sloc) 0.938 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
#!/usr/bin/env python
# encoding: utf-8

__version__ = "1.1.0"

# $Source$
from sys import version
import os
from setuptools import setup

if version < '2.6':
    requires=['urllib', 'urllib2', 'simplejson']
elif version >= '2.6':
    requires=['urllib', 'urllib2', 'json']
else:
    #unknown version?
    requires=['urllib', 'urllib2']

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name='marmalade',
    version=__version__,
    description='Python interface to This Is My Jam API.',
    long_description=read('README.md'),
    author='Tyler Williams',
    author_email='williams.tyler@gmail.com',
    maintainer='Tyler Williams',
    maintainer_email='williams.tyler@gmail.com',
    url='https://github.com/echonest/marmalade',
    download_url='https://github.com/echonest/marmalade',
    package_dir={'marmalade':'marmalade'},
    packages=['marmalade'],
    requires=requires
)
Something went wrong with that request. Please try again.