Skip to content

Commit 90cd5bc

Browse files
author
Travis Jacobs
committed
Merge pull request #157 from openworm/fix_install
Fix install Former-commit-id: 5a350e0
2 parents 52acd5b + f645ff6 commit 90cd5bc

File tree

4 files changed

+27
-22
lines changed

4 files changed

+27
-22
lines changed

INSTALL.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,20 @@
11
Installation
22
============
3-
Typically the steps below should be sufficient for a successful install:
3+
The recommended way to get PyOpenWorm is from [pip](http://pip.readthedocs.org/en/latest/installing.html):
44

5-
git clone https://github.com/openworm/PyOpenWorm.git --recursive
6-
cd PyOpenWorm
7-
python setup.py install
8-
9-
Alternatively, you can use [pip](http://pip.readthedocs.org/en/latest/installing.html):
5+
pip install pyopenworm
106

11-
pip install pyopenworm --pre
12-
137
However, some users have experienced difficulty installing on Mac OSX. If the install
148
fails when attempting to install lxml, you might try installing it separately before
159
attempting to install PyOpenWorm. At least one user has found this [Stack Overflow](http://stackoverflow.com/questions/19548011/cannot-install-lxml-on-mac-os-x-10-9)
1610
post to be helpful.
1711

18-
Optional
19-
--------
20-
There is an optional database storeage option called Sleepycat. You may encounter these issues if you pursue this option:
21-
22-
If your system does not come with bsddb, you will need to install it. On MacOSX, you can follow
23-
[these instructions](http://stackoverflow.com/questions/16003224/installing-bsddb-package-python) for how to install
24-
the python library.
12+
Alternatively, you can grab the contents from GitHub:
2513

26-
If you don't have the Berkeley DB (necessary for using bsddb) you can get it from the [Oracle website](http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index-085366.html).
14+
git clone https://github.com/openworm/PyOpenWorm.git
15+
cd PyOpenWorm
16+
python setup.py install
2717

28-
2918
Uninstall
3019
----------
3120

@@ -37,3 +26,14 @@ Running tests
3726
After checking out the project, tests can be run on the command line with::
3827

3928
python tests/test.py
29+
30+
31+
Optional
32+
--------
33+
There is an optional database storeage option called Sleepycat. You may encounter these issues if you pursue this option:
34+
35+
If your system does not come with bsddb, you will need to install it. On MacOSX, you can follow
36+
[these instructions](http://stackoverflow.com/questions/16003224/installing-bsddb-package-python) for how to install
37+
the python library.
38+
39+
If you don't have the Berkeley DB (necessary for using bsddb) you can get it from the [Oracle website](http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index-085366.html).

MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
recursive-include OpenWormData *
2+
include post_install.py

PyOpenWorm/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
.. automodule:: PyOpenWorm.configure
5757
"""
5858

59-
__version__ = '0.5.1'
59+
__version__ = '0.5.3'
6060
__author__ = 'Stephen Larson'
6161

6262
import traceback, sys, os

setup.py

+7-4
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ def run(self):
1919
===========
2020
2121
A unified, simple data access library in Python for data, facts, and models of
22-
*C. elegans* anatomy for the [OpenWorm project]http://www.openworm.org)
22+
*C. elegans* anatomy for the [OpenWorm project](http://www.openworm.org)
2323
2424
What does it do?
2525
----------------
2626
2727
Enables a simple Python API for asking various questions about the cells of the
2828
*C. elegans*, enabling the sharing of data about *C. elegans* for the purpose
29-
of building a [data-to-model pipeline]http://docs.openworm.org/en/latest/projects
29+
of building a [data-to-model pipeline](http://docs.openworm.org/en/latest/projects
3030
for the OpenWorm project. In addition, it is a repository for various iterations
3131
of inferred / predicted data about *C. elegans*. Uncontroversial facts and
3232
inferred information are distinguished through the use of explicit Evidence
@@ -67,9 +67,12 @@ def run(self):
6767
'git://github.com/zopefoundation/ZODB.git#egg=ZODB',
6868
],
6969
setup_requires = "six==1.9.0",
70-
version = '0.5.1',
70+
version = '0.5.3',
7171
packages = ['PyOpenWorm'],
72-
package_data = {'PyOpenWorm':['default.conf']},
72+
package_data = {
73+
'PyOpenWorm':['default.conf']
74+
},
75+
include_package_data=True,
7376
author = 'OpenWorm.org authors and contributors',
7477
author_email = 'info@openworm.org',
7578
description = 'A Python library for working with OpenWorm data and models',

0 commit comments

Comments
 (0)