/usr/lib/python2.7/dist-packages/cviewer/setup.py is in connectomeviewer 2.1.0-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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())
|