[go: up one dir, main page]

File: setup.py

package info (click to toggle)
connectomeviewer 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 5,860 kB
  • ctags: 1,417
  • sloc: python: 6,234; makefile: 167
file content (25 lines) | stat: -rw-r--r-- 841 bytes parent folder | download | duplicates (2)
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
import ConfigParser
import os

################################################################################
def configuration(parent_package='',top_path=None):
    from numpy.distutils.misc_util import Configuration
    from numpy.distutils.system_info import system_info
    
    config = Configuration('cviewer', parent_package, top_path)

    # List all packages to be loaded here
    config.add_subpackage('action')
    config.add_subpackage('libs')    
    config.add_subpackage('plugins')
    config.add_subpackage('resources') # necessary when in data_dir?
    config.add_subpackage('visualization')
    
    # List all data directories to be loaded here
    config.add_data_dir('resources')

    return config

if __name__ == '__main__':
    from numpy.distutils.core import setup
    setup(**configuration(top_path='').todict())