Skip to content

Commit d08a923

Browse files
committed
Add missing license information (originally specified in README). Correct install instructions.
1 parent 03afc58 commit d08a923

4 files changed

Lines changed: 32 additions & 2 deletions

File tree

LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) Ask Solem Hoel and individual contributors.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification,
5+
are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice,
8+
this list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in the
12+
documentation and/or other materials provided with the distribution.
13+
14+
3. Neither the name of python-github2 nor the names of its contributors may be used
15+
to endorse or promote products derived from this software without
16+
specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
22+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
recursive-include examples *
22
include README.rst
33
include AUTHORS
4+
include LICENSE

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ or from source.
2626

2727
To install using ``pip``,::
2828

29-
$ pip install python-github2
29+
$ pip install github2
3030

3131
To install using ``easy_install``,::
3232

33-
$ easy_install python-github2
33+
$ easy_install github2
3434

3535
If you have downloaded a source tarball you can install it
3636
by doing the following,::

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
author=github2.__author__,
1919
author_email=github2.__contact__,
2020
url=github2.__homepage__,
21+
license='BSD',
2122
platforms=["any"],
2223
packages=find_packages(exclude=['ez_setup']),
2324
scripts=['github2/bin/github_manage_collaborators'],
@@ -27,6 +28,7 @@
2728
"Development Status :: 3 - Alpha",
2829
"Operating System :: OS Independent",
2930
"Programming Language :: Python",
31+
"License :: OSI Approved :: BSD License",
3032
],
3133
long_description=codecs.open('README.rst', "r", "utf-8").read(),
3234
)

0 commit comments

Comments
 (0)