Corentin Le Molgat
85bd99092b
[PYTHON] Rework to use dynamic dependencies
...
- Fix DYNAMIC_LD on MacOS
- Fixup @rpath in python wrapper
- Rework clean_python target
- Cleaning rpy target
- Echo test_python rules
- Add all *vrp* samples to test_python
- Rework pypi_archive target
- Copy shared library to python tempDir
- Update setup.py
- Echo install_python rules (i.e. remove of @)
- Add uninstall_python target
- Update detect_python target
2018-05-28 08:08:49 +02:00
Corentin Le Molgat
02877e28f1
[UNIX][DEPS] Build dependencies as dynamic libs
...
Unix:
- Rename install_directories rule
this target creates dependencies/install dir not ortools install dir
- replace $(LIB_SUFFIX) by $L to be consistent with $E and $O suffix
- fix rpath, no need anymore patchelf
-> remove prerequisite $(PATCHELF) in install_cc
- use build_cmake as build directory
note: MacOS is case insensitive when creating directory
and bazel file is named BUILD -> `mkdir build` won't work
- Fix CMD_LNK on mac
- Fix MacOS LINK_FLAGS
- MacOS also use LIB_DIR = lib
Win:
- Fix windows lib suffix $L
Protobuf:
- Need to use PROTOC (like MONO) to add LD_LIBRARY_PATH hack
-> PROTOC = LD_LIBARY_PATH="..." protoc
-> replace $(PROTOBUF_DIR)/bin/protoc by $(PROTOC)
- Remove uneeded PROTOBUF_DIR defs
- Apply patch to protobuf to use @rpath on MacOS
- Add rpath to protobuf install rules
Coin-OR
- Use coin-or github repos mirror instead of the svn repo (Fix #379 )
- Use the splited Cbc (CoinUtils, Osi, Clp, Cgl, Cbc)
note: usually distro use this layout cf https://repology.org/metapackage/coin-or-cbc/badges
- Fix rpath for all coin-or libraries at post-install using patchelf (linux) or otools (osx)
2018-05-28 08:08:49 +02:00
Corentin Le Molgat
b385229297
Makefile: Remove *.pyc when calling cleaning ( Fix #676 )
...
- now, `make clean` remove *.pyc files in ortools/
2018-05-02 09:54:34 +02:00
Corentin Le Molgat
57be45802c
Fix clean_python
2018-03-16 16:13:55 +01:00
Corentin Le Molgat
816cf75f5e
Add install_python target ( #610 )
2018-03-07 13:35:57 +01:00
Corentin Le Molgat
11a22957a4
Fix echo blankline on windows
2018-03-06 15:03:40 +01:00
Corentin Le Molgat
9b41cae639
Update detect_* targets
2018-03-06 14:34:41 +01:00
Corentin Le Molgat
6eff7e4476
Add newline at end of each help_* targets
2018-03-06 14:23:47 +01:00
Laurent Perron
76809379df
simplify C# dependencies, remove build loop on python
2018-03-06 12:56:14 +01:00
Laurent Perron
a4f4c2d5a6
move check_third_party into ortoolslib target; avoid rebuilding C# all the time
2018-03-06 11:42:06 +01:00
Corentin Le Molgat
54ceb6d56b
Remove vector packing from python ortools_examples ( #607 )
2018-03-06 10:10:58 +01:00
Corentin Le Molgat
c4bfef29e1
Fix windows python executable...
2018-03-05 13:52:26 +01:00
Corentin Le Molgat
51b56430f5
Rework Makefile help
2018-03-05 09:17:28 +01:00
Corentin Le Molgat
6f0b6af5d5
Fix windows python executable search path
2018-03-05 09:17:28 +01:00
Corentin Le Molgat
7793b23c87
fixing python on windows
2018-03-01 11:57:34 +01:00
Corentin Le Molgat
3bb38cc1c5
Clean Makefile on Windows
...
-Appveyor fixup
- Windows create dependencies/archives dir
- Correct third_party_win diri path
- Correct zlib dir for Windows Makefile
- use of $(WHICH)
- Add $(GREP)
2018-03-01 10:28:11 +01:00
Corentin Le Molgat
70114a411a
Windows: replace "where" by "tools\which"
...
- silent which.exe in case of error
Otherwise you'll get the too verbose path
2018-02-28 17:41:13 +01:00
Corentin Le Molgat
2bd7f9d1bb
Fix help_XXX target on Windows
2018-02-28 15:20:56 +01:00
Corentin Le Molgat
a9ab55e3e6
Rework AppVeyor CI jobs
2018-02-28 15:20:56 +01:00
Corentin Le Molgat
f2bac8d1b2
Protect PYTHON_EXECUTABLE from split
2018-02-28 15:14:48 +01:00
Corentin Le Molgat
4739c51447
Rework Python Makefile
...
- add help_python
2018-02-27 13:42:22 +01:00
Laurent Perron
238386a0f9
export util/optional_boolean in python module
2018-01-16 14:35:25 +01:00
Laurent Perron
e15d5db1c2
remove dummy module from pypi setup
2017-12-13 09:23:22 +01:00
Laurent Perron
8d7320b962
deep sync with base library; prepare for abseil.io integration
2017-12-08 14:52:49 +01:00
Corentin Le Molgat
707a8789bf
rework Makefile 'detect' target
2017-12-01 15:30:47 +01:00
Corentin Le Molgat
90438e85b9
Fix CANONIC_PYTHON_EXECUTABLE
2017-11-24 11:37:20 +01:00
Corentin Le Molgat
ff4c547128
Fix PYTHON_XXX substitution
...
By default on Windows, Python should be installed in C:\Program Files\...
leading to the error:
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
2017-11-24 11:18:26 +01:00
Laurent Perron
0ead5718d6
add notebooks to python archives
2017-11-24 10:45:16 +01:00
Laurent Perron
f3a9a1f2d6
fix python3 support in and out of protobufs
2017-11-17 00:19:34 +01:00
Laurent Perron
6c484ad4f8
fix sat python support in or-tools
2017-11-16 23:27:58 +01:00
Laurent Perron
b091adaf3f
improve make clean*
2017-11-14 14:28:23 +01:00
Laurent Perron
e14ee86de3
move rcpsp parser to ortools/data; continue working on SAT
2017-11-07 15:45:52 +01:00
Laurent Perron
4710247921
skeleton files to support rcpsp loader from python
2017-11-03 23:36:21 +01:00
Laurent Perron
743e212a0b
remove setup.py from python_examples_archive
2017-10-31 10:11:44 +01:00
Laurent Perron
ccb29e483f
update python examples README, install: remove Makefile, remove check_python_deps, update README
2017-10-31 10:06:53 +01:00
Laurent Perron
ae8fa98dba
cleanup python modules, makefiles
2017-10-02 15:25:53 +02:00
Laurent Perron
d48958689e
clean up docker; remove py3- module prefix
2017-10-02 14:09:48 +02:00
Laurent Perron
8f759d2324
fix sat python
2017-10-01 16:54:41 +02:00
Laurent Perron
bc46de013f
python wrapper around sat cp_model
2017-09-29 16:33:02 +02:00
Laurent Perron
27fcdf71a1
fix python version, again
2017-09-21 07:53:30 +02:00
Laurent Perron
bf0891b930
stop building egg file on win/mac
2017-09-12 20:36:21 +02:00
Laurent Perron
bec6b68534
fix release process
2017-09-11 16:37:03 +00:00
Federico Ficarelli
ae7b78d0b7
remove manylinux1 patch file, integrate changes
2017-09-03 18:15:23 +02:00
Laurent Perron
ad45ee1595
fix __version__ on windows python modules
2017-07-24 11:41:21 -07:00
Laurent Perron
c6f128db17
simplify sat internals
2017-07-24 10:31:53 -07:00
Laurent Perron
03733c783d
separate pypi modules across linux distributions
2017-07-14 14:09:02 -07:00
Laurent Perron
4a1a7c7b36
separate pypi modules across linux distributions
2017-07-14 13:57:25 -07:00
Laurent Perron
485ca36b44
more work on docker; export linux wheel in docker run
2017-07-12 17:08:36 -07:00
Laurent Perron
3c445063ac
readd missing dependency on patchelf
2017-07-12 15:04:04 -07:00
Laurent Perron
60bb0a7909
continue working on docker support for linux; add pypi_export target
2017-07-12 14:56:59 -07:00