combox

split and encrypted files between online file storage providers
git clone git://git.ricketyspace.net/combox.git
Log | Files | Refs

commit 6003883979433fd0b68fd4c9d125fbc7974008ce
parent 84a74768c00ade0c7ca44cb72b9b32f103653333
Author: Siddharth Ravikumar <sravik@bgsu.edu>
Date:   Mon, 11 Jan 2016 18:59:31 -0500

[bug fix] setup.py

Function for reading a file is defined in setup.py itself.

Diffstat:
ChangeLog | 2++
setup.py | 9+++++++--
2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -7,6 +7,8 @@ creation is now done after reading all the configuration values; the function also creates the combox directory if it does not already exist. + * setup.py: added function for reading a file; we don't use the + read_file function from combox.file module anymore. 2016-01-10 Siddharth Ravikumar <sravik@bgsu.edu> diff --git 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',