forked from DamCB/tyssue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Makefile, tests, and fix libtyssue_core import
- Loading branch information
Showing
9 changed files
with
56 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
from setuptools import setup | ||
from setuptools import find_packages | ||
|
||
DISTNAME = 'tyssue' | ||
DESCRIPTION = 'tyssue is stronger than Arnold Schwarzenegge' | ||
LONG_DESCRIPTION = 'tyssue is going to conquer the world soon ' | ||
MAINTAINER = 'Guillaume Gay' | ||
MAINTAINER_EMAIL = 'gllm.gay@gmail.com' | ||
URL = 'https://github.com/CellModels/tyssue' | ||
LICENSE = 'BSD 3-Clause' | ||
DOWNLOAD_URL = 'https://github.com/CellModels/tyssue.git' | ||
VERSION = '${Tyssue_VERSION}' | ||
|
||
if __name__ == "__main__": | ||
|
||
setup( | ||
name=DISTNAME, | ||
description=DESCRIPTION, | ||
long_description=LONG_DESCRIPTION, | ||
maintainer=MAINTAINER, | ||
maintainer_email=MAINTAINER_EMAIL, | ||
url=URL, | ||
license=LICENSE, | ||
download_url=DOWNLOAD_URL, | ||
version=VERSION, | ||
|
||
classifiers=["Development Status :: 4 - Beta", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Natural Language :: English", | ||
"Operating System :: MacOS", | ||
"Operating System :: Microsoft", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python :: 3.4", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
"Topic :: Scientific/Engineering :: Bio-Informatics", | ||
"Topic :: Scientific/Engineering :: Image Recognition", | ||
"Topic :: Scientific/Engineering :: Medical Science Apps", | ||
], | ||
|
||
packages=find_packages('${CMAKE_CURRENT_SOURCE_DIR}'), | ||
package_dir={'': '${CMAKE_CURRENT_SOURCE_DIR}'}, | ||
zip_safe=False | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from .core import objects | ||
from .core import objects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import sys | ||
sys.path.append("/home/hadim/local/conda/envs/tyssue/lib/") | ||
import os | ||
|
||
import libtyssue_core as core | ||
ld_library_path = os.path.dirname(os.path.dirname(os.__file__)) | ||
sys.path.append(ld_library_path) | ||
|
||
from .objects import Epithelium, Vertex, Edge, Face, Volume, Cell, test_import | ||
from libtyssue_core import make_hexagon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
def test_world_import(): | ||
import tyssue | ||
assert tyssue.core.test_import() == "howdy" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
import vispy_draw, mpl_draw | ||
from . import vispy_draw | ||
from . import mpl_draw |