summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2016-01-11 18:59:31 -0500
committerSiddharth Ravikumar <sravik@bgsu.edu>2016-01-11 18:59:31 -0500
commit6003883979433fd0b68fd4c9d125fbc7974008ce (patch)
tree2e46a1d23c9cb2f048cd162ee49422f00c3eb288 /setup.py
parent84a74768c00ade0c7ca44cb72b9b32f103653333 (diff)
[bug fix] setup.py
Function for reading a file is defined in setup.py itself.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 5fe4240..b0ca78a 100644
--- a/setup.py
+++ b/setup.py
@@ -20,13 +20,18 @@
from setuptools import setup, find_packages
-from combox.file import read_file
from combox._version import get_version
+
+def readf(filename):
+ with open(filename, 'r') as f:
+ return f.read()
+
+
config = {
'name': 'combox',
'description': 'Encrypts files and scatters them across storage provided by Google Drive and Dropbox.',
- 'long_description': read_file('README.rst'),
+ 'long_description': readf('README.rst'),
'version': get_version(),
'platforms': ['GNU/Linux', 'OS X'],
'license': 'GNU General Public License version 3 or later',