Skip to content

Commit

Permalink
Add setup.cfg file. Fix url and author emails in setup.py. Add MIT li…
Browse files Browse the repository at this point in the history
…cense to LICENSE file. Minor version bump.
  • Loading branch information
bermudezjd committed May 3, 2016
1 parent 6c1130a commit 831fd7c
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 11 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2014 penzance

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.2
0.2.3
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[metadata]
license-file = LICENSE
description-file = README.rst

[wheel]
universal = 1
22 changes: 12 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,27 @@
from setuptools import (find_packages, setup)

with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
VERSION = v_file.read().strip()

with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as r_file:
README = r_file.read().strip()

with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

setup(
name='canvas-oauth',
version=version,
packages=find_packages(),
include_package_data=True,
license="License :: OSI Approved :: MIT License",
version=VERSION,
url="https://github.com/Harvard-University-iCommons/django-canvas-oauth",
author="Jaime Bermudez",
author_email="[email protected], [email protected]",
description='A reusable Django app used to handle OAuth2 flow with Canvas.',
long_description=README,
url='https://www.example.com/',
author='Jaime Bermudez',
author_email='[email protected]',
license="License :: OSI Approved :: MIT License",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
Expand Down

0 comments on commit 831fd7c

Please sign in to comment.