Permalink
Browse files

Add license.

Fixes #11.
  • Loading branch information...
Jukka Ojaniemi
Jukka Ojaniemi committed Sep 24, 2017
1 parent 33713b6 commit 3adb1691289540a51e0aa294312a2a1c70920945
Showing with 44 additions and 23 deletions.
  1. +20 −0 LICENSE
  2. +24 −23 setup.py
View
20 LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2017 Jukka Ojaniemi
+
+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.
View
@@ -3,27 +3,27 @@
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
-README = open(os.path.join(here, 'README.rst')).read()
-CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
+README = open(os.path.join(here, "README.rst")).read()
+CHANGES = open(os.path.join(here, "CHANGES.rst")).read()
requires = [
- 'cornice',
- 'pyramid',
- 'pyramid_tm',
- 'pyramid_debugtoolbar',
- 'pyramid_chameleon',
- 'python-dateutil',
- 'SQLAlchemy',
- 'transaction',
- 'waitress',
- 'zope.sqlalchemy',
+ "cornice",
+ "pyramid",
+ "pyramid_tm",
+ "pyramid_debugtoolbar",
+ "pyramid_chameleon",
+ "python-dateutil",
+ "SQLAlchemy",
+ "transaction",
+ "waitress",
+ "zope.sqlalchemy",
]
-test_requires = requires.append('webtest')
+test_requires = requires.append("webtest")
-setup(name='whiskers',
- version='1.0.0',
- description='whiskers',
- long_description=README + '\n\n' + CHANGES,
+setup(name="whiskers",
+ version="1.0.0",
+ description="whiskers",
+ long_description=README + "\n\n" + CHANGES,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
@@ -33,15 +33,16 @@
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
- author='Jukka Ojaniemi',
- author_email='jukka.ojaniemi@gmail.com',
- url='https://github.com/pingviini/whiskers',
- keywords='web wsgi pyramid whiskers buildout',
+ author="Jukka Ojaniemi",
+ author_email="jukka.ojaniemi@gmail.com",
+ url="https://github.com/pingviini/whiskers",
+ keywords="web wsgi pyramid whiskers buildout",
+ license="MIT",
package_dir={"": "src"},
- packages=find_packages('src'),
+ packages=find_packages("src"),
include_package_data=True,
zip_safe=False,
- test_suite='whiskers.tests',
+ test_suite="whiskers.tests",
install_requires=requires,
tests_require=test_requires,
entry_points="""\

0 comments on commit 3adb169

Please sign in to comment.