There was an error while loading. Please reload this page.
1 parent 80d95ce commit f9858dcCopy full SHA for f9858dc
1 file changed
setup.py
@@ -3,7 +3,11 @@
3
from setuptools import setup, find_packages
4
DESCRIPTION = ("REST API framework powered by Flask, MongoDB and good "
5
"intentions.")
6
-LONG_DESCRIPTION = open('README.rst').read()
+with open('README.rst') as f:
7
+ LONG_DESCRIPTION = f.read()
8
+
9
+with open('LICENSE') as f:
10
+ LICENSE = f.read()
11
12
setup(
13
name='Eve',
@@ -13,7 +17,7 @@
17
author='Nicola Iarocci',
14
18
author_email='eve@nicolaiarocci.com',
15
19
url='http://python-eve.org',
16
- license=open('LICENSE').read(),
20
+ license=LICENSE,
21
platforms=["any"],
22
packages=find_packages(),
23
test_suite="eve.tests",
0 commit comments