-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
74 lines (63 loc) · 2.44 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# -*- coding: utf-8 -*-
"""setup.py:
This script is used with cmake to install moogli.
This must be called as
python cmake_modules/setup.py install
NOTE: This repository is clone of `https://github.com/aviralg/moogli`.
"""
__author__ = "Dilawar Singh"
__copyright__ = "Copyright 2015, Dilawar Singh and NCBS Bangalore"
__credits__ = ["NCBS Bangalore"]
__license__ = "GNU GPL"
__version__ = "1.0.0"
__maintainer__ = "Dilawar Singh"
__email__ = "dilawars@ncbs.res.in"
__status__ = "Development"
import sys
import os
from distutils.core import setup, Extension
long_description = open(os.path.join('.', "README.md")).read()
_version = '0.5.git'
if os.path.exists( 'VERSION' ):
with open( 'VERSION', 'r' ) as f:
_version = f.read( )
# check if _moogli.so is available or not.
soFile = os.path.join('.', 'moogli', 'core', '_moogli.so')
if not os.path.exists(soFile):
print("[ERROR] %s does not exits. Please build it using cmake" % soFile)
print("We are in %s" % os.getcwd())
quit()
setup(name='moogli',
author='Aviral Goel',
author_email='aviralg@ncbs.res.in',
maintainer='Dilawar Singh',
maintainer_email='dilawars@ncbs.res.in',
version=_version,
url='https://github.com/BhallaLab/moogli',
download_url='https://github.com/aviralg/moogli',
description="A 3D visualizer for neuronal networks",
long_description=long_description,
classifiers=['Development Status :: 3 - Alpha',
'Environment :: X11 Applications :: Qt',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: C++',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering'],
license='GPLv2',
include_package_data = True,
packages=[
"moogli",
"moogli.core",
"moogli.widgets",
"moogli.extensions",
"moogli.extensions.moose",
"moogli.visualization",
"moogli.visualization.pipeline"
],
package_dir = { 'moogli.core' : 'moogli/core' },
package_data = { 'moogli.core' : [ '_moogli.so' ] },
)