-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (36 loc) · 1.29 KB
/
setup.py
File metadata and controls
40 lines (36 loc) · 1.29 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
37
38
39
40
import sys, os
try:
from setuptools import setup
except:
from distutils.core import setup
if sys.version_info < (2,6):
raise NotImplementedError("Sorry, you need at least Python 2.6 or Python 3.x to use simpledict.")
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='simpledict',
version='0.2.6',
description='Simple dictionary wrapper',
author='Robert Spychala',
author_email="robspychala@gmail.com",
url="http://github.com/robspychala/simpledict",
keywords=["dict", "mongo"],
platforms=['any'],
py_modules=['simpledict'],
scripts=['simpledict.py'],
license='MIT',
classifiers=[
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
"Development Status :: 3 - Alpha",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
long_description=read('Readme.md'),
test_suite="tests"
)
# python setup.py register sdist upload