diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | MANIFEST.in | 1 | ||||
-rw-r--r-- | changes/bug_fix-pip-install | 1 | ||||
-rw-r--r-- | setup.py | 13 |
4 files changed, 13 insertions, 4 deletions
@@ -1,5 +1,7 @@ *.log *.pyc dist/ +build/ MANIFEST *.egg-info/ + diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..152a4ce6 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include pkg/soledad diff --git a/changes/bug_fix-pip-install b/changes/bug_fix-pip-install new file mode 100644 index 00000000..fcb58295 --- /dev/null +++ b/changes/bug_fix-pip-install @@ -0,0 +1 @@ + o Fix broken pip install @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. - +import os from setuptools import ( setup, find_packages @@ -39,7 +39,7 @@ install_requirements = [ # platform-supplied package, or install Twisted by downloading a tarball, # unpacking it, and running setup.py." # - https://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions - 'twisted==13.0.0', # TODO: maybe we just want twisted-web? + 'twisted>=12.0.0', # TODO: maybe we just want twisted-web? # twisted cannot be installed separately using pip. 'u1db', 'requests', @@ -62,12 +62,17 @@ tests_requirements = [ 'testscenarios', ] +if os.environ.get('VIRTUAL_ENV', None): + data_files = None +else: + # XXX this should go only for linux/mac + data_files = [("/etc/init.d/", ["pkg/soledad"])] setup( name='leap.soledad', # TODO: change version according to decisions regarding soledad versus # leap client versions. - version='0.0.1-dev', + version='0.0.2-dev', url='https://leap.se/', license='GPLv3+', description='Synchronization of locally encrypted data among devices.', @@ -85,5 +90,5 @@ setup( install_requires=install_requirements, tests_require=tests_requirements, dependency_links=dependency_links, - data_files = [("/etc/init.d/", ["pkg/soledad"])] + data_files = data_files ) |