/usr/lib/python2.7/dist-packages/yade/config.py is in python-yade 1.07.0-2.
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | # encoding: utf-8
"""
Compile-time configuration for yade.
Template file is processed by scons to create the actual configuration at build-time.
"""
import os,datetime,os.path
prefix='/usr' if not os.environ.has_key('YADE_PREFIX') else os.environ['YADE_PREFIX']
suffix=''
libPATH='lib/x86_64-linux-gnu'
if (libPATH[1:] == '{LIBRARY_OUTPUT_PATH}'): libPATH='lib'
libDir=os.path.abspath(prefix+'/'+libPATH+'/yade')
confDir=os.environ['HOME']+'/.yade'
libstdcxx=''
features=' vtk openmp gts qt4 opengl'.split(',')
revision='1.07.0'
version='1.07.0'
sourceRoot='/build/buildd/yade-1.07.0'
# project metadata
metadata=dict(
short_desc='open-source platform for dynamic computations',
long_desc='Extensible open-source framework for discrete numerical models, focused on Discrete Element Method. The computation parts are written in c++ using flexible object model, allowing independent implementation of new alogrithms and interfaces. Python is used for rapid and concise scene construction, simulation control, postprocessing and debugging.\n\n\n\nSee http://www.yade-dem.org/ for documentation and http://www.launchpad.net/yade for the project itself.\n\nThis is version %s with features %s.'%(version,','.join(features)),
author='Yade Developers Team',
website='http://www.yade-dem.org',
author_contact='http://www.launchpad.net/~yade-dev',
mailinglist='yade-users@lists.launchpad.net',
bugtracker='http://bugs.launchpad.net/yade',
copyright='© 2003--%s'%(datetime.date.today().year),
license='''This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA.
''',
)
|