Skip to content

Commit dcf693f

Browse files
committed
create basic project layout
1 parent 44ff482 commit dcf693f

File tree

8 files changed

+99
-0
lines changed

8 files changed

+99
-0
lines changed

Diff for: HISTORY.rst

Whitespace-only changes.

Diff for: LICENSE

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2011 Daniel Schauenberg
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Diff for: MANIFEST

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
HISTORY.rst
2+
README.rst
3+
setup.py
4+
simplenote/__init__.py
5+
simplenote/simplenote.py

Diff for: MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include README.rst HISTORY.rst

Diff for: README.rst

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
============
2+
simplenote.py
3+
============
4+
5+
Introduction
6+
=============
7+
simplenote.py is a python library for the simplenote.com_ web service.
8+
9+
Installation
10+
=============
11+
Install via pip::
12+
13+
pip install simplenote
14+
15+
Or if you must::
16+
17+
easy_install simplenote
18+
19+
20+
Usage
21+
======
22+
simplenote.py can be imported into any python module::
23+
24+
import simplenote
25+
26+
Contribute
27+
===========
28+
If you want to contribute:
29+
30+
* Fork the project.
31+
* Make your feature addition or bug fix based on develop.
32+
* Add tests for it. This is important so I don’t break it in a future version unintentionally.
33+
* Commit, do not mess with version
34+
* Send me a pull request. Bonus points for topic branches.
35+
36+
.. _simplenote.com: http://simplenoteapp.com

Diff for: setup.py

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/env python
2+
# encoding: utf-8
3+
'''
4+
setup.py - distutils script
5+
'''
6+
import os
7+
import sys
8+
import simplenote
9+
10+
from distutils.core import setup
11+
12+
def publish():
13+
""" Publish to PyPi"""
14+
os.system("python setup.py sdist upload")
15+
16+
if sys.argv[-1] == "publish":
17+
publish()
18+
sys.exit()
19+
20+
setup(name = "simplenote",
21+
version = simplenote.__version__,
22+
description = "Python library for the simplenote.com API",
23+
long_description = (open("README.rst").read() + "\n\n" + open("HISTORY.rst").read()),
24+
author = "Daniel Schauenberg",
25+
author_email = "[email protected]",
26+
url = "https://github.com/mrtazz/simplenote.py",
27+
packages = ["simplenote"],
28+
license = "MIT",
29+
classifiers = (
30+
"Development Status :: 4 - Beta",
31+
"License :: OSI Approved :: MIT License",
32+
"Programming Language :: Python",
33+
"Programming Language :: Python :: 2.5",
34+
"Programming Language :: Python :: 2.6",
35+
"Programming Language :: Python :: 2.7",
36+
)
37+
)

Diff for: simplenote/__init__.py

Whitespace-only changes.

Diff for: simplenote/simplenote.py

Whitespace-only changes.

0 commit comments

Comments
 (0)