source: src/Python/Makefile.am@ 4464ef

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction Subpackage_levmar Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since 4464ef was 415ddd, checked in by Frederik Heber <heber@…>, 11 years ago

ActionQueue now contains a run thread.

  • otherwise the progress bar of the QtMainWindow cannot be seen as waitForResults() takes up all of the executing thread.
  • added mutex for operations modifying the queue.
  • added ActionQueue::run() and ::stop(), used by friend stopQueue().
  • insertAction() now makes use of a tempqueue that is added to true queue during run() instead of calling the actions directly.
  • new stopQueue() in cleanUp.hpp is used by module_exit in pyMoleCuilder and in main() before saveAll().
  • cleanup: printTiming() requires now list of action tokens and added new stopAndPurgeQueue() to place waiting for Actions to end into extra function.
  • added ActionQueue::wait() which allows for synchronization in python scripts, is ignored in session python scripts. Otherwise we wait for ActionQueue's queue to empty during execution of load-session which hangs.
  • DOCU: added note to python documentation.
  • added waitQueue() also to purgeStaticInstances().
  • static UIFactory::isFactoryPresent() added that allows checking whether we have a UI or are executed within a python script (i.e. pyMoleCuilder).
  • DOCU: Extended docu on threads and who this affects python scripts.
  • TESTFIX: changed regression tests on storing python sessions.
  • Property mode set to 100644
File size: 3.0 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4PYTHONSOURCE = \
5 Python/exit.cpp \
6 Python/getBoundingBox.cpp \
7 Python/getDomainVolume.cpp \
8 Python/getSelectedMolarMass.cpp \
9 Python/PythonScripting.cpp \
10 Python/reinit.cpp \
11 Python/wait.cpp
12
13PYTHONHEADER = \
14 Python/modules.hpp \
15 Python/PythonScripting_impl.hpp \
16 Python/PythonScripting.hpp
17
18
19noinst_LTLIBRARIES += libMolecuilderPython.la
20libMolecuilderPython_la_includedir = $(includedir)/MoleCuilder/
21libMolecuilderPython_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(PYTHON_INCLUDE_DIR)
22libMolecuilderPython_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_PYTHON_LDFLAGS)
23libMolecuilderPython_la_LIBADD = \
24 $(BOOST_PYTHON_LIBS) \
25 ${CodePatterns_LIBS} \
26 -l$(PYTHON_LIB)
27
28nobase_libMolecuilderPython_la_include_HEADERS = ${PYTHONHEADER}
29
30## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
31## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
32## will therefore be treated as if it were literally part of the target name,
33## and the variable name derived from that.
34## The file extension .cc is recognized by Automake, and makes it produce
35## rules which invoke the C++ compiler to produce a libtool object file (.lo)
36## from each source file. Note that it is not necessary to list header files
37## which are already listed elsewhere in a _HEADERS variable assignment.
38libMolecuilderPython_la_SOURCES = ${PYTHONSOURCE}
39
40## Instruct libtool to include ABI version information in the generated shared
41## library file (.so). The library ABI version is defined in configure.ac, so
42## that all version information is kept in one place.
43#libMolecuilderPython_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
44
45## The generated configuration header is installed in its own subdirectory of
46## $(libdir). The reason for this is that the configuration information put
47## into this header file describes the target platform the installed library
48## has been built for. Thus the file must not be installed into a location
49## intended for architecture-independent files, as defined by the Filesystem
50## Hierarchy Standard (FHS).
51## The nodist_ prefix instructs Automake to not generate rules for including
52## the listed files in the distribution on 'make dist'. Files that are listed
53## in _HEADERS variables are normally included in the distribution, but the
54## configuration header file is generated at configure time and should not be
55## shipped with the source tarball.
56#libMolecuilderPython_libincludedir = $(libdir)/MoleCuilder/include
57#nodist_libMolecuilderPython_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
58
59## Install the generated pkg-config file (.pc) into the expected location for
60## architecture-dependent package configuration information. Occasionally,
61## pkg-config files are also used for architecture-independent data packages,
62## in which case the correct install location would be $(datadir)/pkgconfig.
63#pkgconfigdir = $(libdir)/pkgconfig
64#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
Note: See TracBrowser for help on using the repository browser.