Skip to content

Commit

Permalink
Added package setup files for Pypi release.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Jan 31, 2015
1 parent f5423f6 commit a57e0c5
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 0 deletions.
11 changes: 11 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# file GENERATED by distutils, do NOT edit
history.rst
readme.md
setup.cfg
setup.py
jsondb/__init__.py
jsondb/db.py
tests/__init__.py
tests/__init__.pyc
tests/tests.py
tests/tests.pyc
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include history.rst
include readme.md

recursive-include tests *
7 changes: 7 additions & 0 deletions history.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. :changelog:
History
-------

`See release notes
<https://github.com/gunthercox/jsondb/releases>`_
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[wheel]
universal = 1

[metadata]
description-file = readme.md
43 changes: 43 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-


try:
from setuptools import setup
except ImportError:
from distutils.core import setup

history = open("history.rst").read().replace(".. :changelog:", "")

readme = lambda f: open(f, "r").read()

setup(
name="jsondatabase",
version="0.0.1",
description="A flat file database for json objects.",
long_description=readme("readme.md") + "\n\n" + history,
author="Gunther Cox",
author_email="[email protected]",
url="https://github.com/gunthercox/jsondb",
packages=["jsondb"],
package_dir={"jsondb": "jsondb"},
include_package_data=True,
install_requires=[],
license="BSD",
zip_safe=False,
keywords = ["jsondb"],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
test_suite="tests",
tests_require=[]
)
Empty file added tests/__init__.py
Empty file.
File renamed without changes.

0 comments on commit a57e0c5

Please sign in to comment.