summaryrefslogtreecommitdiff
path: root/setup/win32
AgeCommit message (Collapse)Author
2021-02-01[FIX] packaging: add a bom to nsi scriptChristophe Monniez
When using the windows installer in French language, the `Hôte` label used to configure postgresql server does not display correctly. The LangString documentation does not specify how to use the special characters but after some tests, specifying a BOM for the nsi file seems to be the way to go. closes odoo/odoo#65365 X-original-commit: 3d0871d1d5895f0f04175f2633344f2f1b05a081 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-09-15[IMP] packaging: update windows packagingChristophe Monniez
Up to Odoo 13.0, the windows setup is 32 bits and embeds an old postgresql 9.5 32 bits version too. With this commit, the postgresql server is no longer embedded in the resulting setup file. Instead, if the user choose to install the postgresql server, the 12.4 version is downloaded from the official site (version 10.14 in the case of a 32 bits windows). Also, the Python target achitecture is choosen based on the Windows system on which Odoo is installed. This imply changes on the KVM images used to build the installer: - The Windows system on the KVM as to be 64 bits. - A 32 bits WinPython version must be in `c:/odoobuild/WinPy32` - A 64 bits WinPyhton version must be in `c:/odoobuild/WinPy64` A little bit of cleaning also comes with this commit to get rid of the old `openerp` references. closes odoo/odoo#57155 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-08-03[REM] packaging: remove useless winpy_requirements.txt fileChristophe Monniez
As this file was only used as a one shot for the windows pacakging, it can be removed from the code. closes odoo/odoo#55307 X-original-commit: 19b44653fef85a851239c656b1fdf4798ab83f34 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-02-05[IMP] base_vat: replace vatnumver by stdnum library.Hardik Prajapati
Python module vatnumber doesn't seem maintained anymore. Therefore, we should: - call directly stdnum (which is maintained and mostly used everywhere in vatnumber) Also improve stdnum import, vat fix method and vat expected formats task-1915371 closes odoo/odoo#36978 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2020-01-22[FIX] auth_ldap: replace the deprecated library by one up to dateMartin Trigaux
At 795c7b0a9415d04 the external dependencies was changed from trying to import 'ldap' to checking than 'pyldap' package was installed. The problem is that pyldap is a unmaintained library that should no longer be used, as explained on the package page: https://pypi.org/project/pyldap/ "The pyldap fork was merged back into python-ldap, and released as python-ldap 3.0.0." Having pyldap version >= 3.0 installs python-ldap automatically and will not cause any issue. The Debian control file package name is adapted to use the latest. The "ldap" externalm dependency defined in __manifest__.py will cause pkg_resources.get_distribution() to fail in both case ("python-lap" or "pyldap"), but the "import" fallback will succeed. For that reason, the log warning is turned into a log info. closes odoo/odoo#43769 Note: This library should be replaced by the pure python "ldap3" library. X-original-commit: 1afd0ccf20881ba97e3c07dffb33e9a3a0b2cda4 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2019-11-05[FIX] packaging: compute winpython path with package.py argsChristophe Monniez
When building the MS Windows package, the PYTHON_VERSION variable is not used and the WinPython path is hard coded in the Makefile and NSI file. This prevent the usage of a newer version of Python. With this commit, the PYTHON_VERSION is used to compute the WinPython Python directory. That way, this directory can be derived from package.py command line argument --vm-winxp-python-version. Also the less windows binaries are not packaged anymore. closes odoo/odoo#39821 X-original-commit: ac90d8584f99e24aed931eb5186c360f9dfbf399 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2019-10-11[FIX] packaging: adapt Odoo version in windows installerChristophe Monniez
Packaging oversight, the displayed version in the installer window was still 12.0. closes odoo/odoo#38486 X-original-commit: c5bd1a4f9730064f53ff633592dbf83ca7c1e4f7 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2019-06-05[IMP] tools: remove custom pofile readerMartin Trigaux
Use polib library that handles this correctly The complexity of the parser is moved to the library
2019-05-07[FIX] requirements: bump up jinja2 reqsOlivier Dony
Recommended by GitHub's repository alerts. We normally stick as close as possible to the version we depend on in the official DEB packages. This in turn depends on the version of Debian stable at the time of release - for 11.0 that would be Debian 9 (stretch) and thus Jinja 2.8 (with security backports). However Jinja2 before 2.10.1 suffers from a few issues that could lead to crashes of Odoo processes. It seems it's worth an exception to our rule for pip users, similarly to previous bump up at d2605bccdba1838db5700a6ae0dd12ca9f9b20c7. closes odoo/odoo#32601 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-02-05[IMP] generic: replace suds with zeep.Siddarth Gajjar
- Added new library zeep for soap request. - Remove old suds library. Task ID: 41696 Closes #26934
2018-11-02[MERGE] forward port branch saas-11.4 up to f6ca72b3ce9Christophe Simonis
2018-10-31[MERGE] forward port branch saas-11.3 up to 21eb31d8047Christophe Simonis
2018-10-31[MERGE] forward port branch saas-15 up to 00829a0beb2Christophe Simonis
2018-10-09[FIX] packaging: bump Odoo version to 12 in MS Windows installerChristophe Monniez
Fixes #27420 closes odoo/odoo#27590
2018-10-09[REM] packaging: drop PyYAML dependencyAdrian Torres
Commit cf853a785ba4b533ddb2e8a717c9ffa6429e7b81 removed all yml tests and the yml import engine from Odoo forever, however PyYAML remains a dependency even though it's not used anymore. This commit removes any reference to this lib that could be found. closes odoo/odoo#27563
2018-04-26[IMP] packaging: automate package update in Windows buildChristophe Monniez
When building the Windows installer, a virtual machine is used with prepackaged python modules. With this commit, the packaging script will try to install on the virtual machine the python packages specified in requirements.txt. Each package is installed individually, that way, if an install fails, the install of the other packages continues. At the end of the process, successfully packages are listed so that they will appear in the build log files. Also, the Makefile was cleaned in this commit (removal of py2exe stuffs).
2017-10-18[FIX] packages: install vc_redist files properlyChristophe Monniez
Nsis installer was installing the wrong MS Visual C++ redistributable file. Python 3.6 needs MS Visual C++ 2015 redistruibutable files. Also, Nsis now differentiate Windows architecture for the nssm service and the MS C++ redist.
2017-10-12[REM] remove any openid referenceChristophe Monniez
Purpose: openid is not used anymore in Odoo, therefore it can be safely removed.
2017-10-09[REF] core: Remove psycogreen dependencyChristophe Monniez
Purpose: The psycogreen module is unmaintained. Last source update was in 2015 and last pypi package was in 2012. Odoo only use a small part of the psycogreen module that could be written directly in the odoo code. This commit reproduce the small function from psycogreen used in ODoo and remove all depencies from it. Also the copyright and license are honored and the documentation is updated accordingly. pypi pckage: https://pypi.python.org/pypi/psycogreen bitbucket repos: https://bitbucket.org/dvarrazzo/psycogreen/
2017-10-09[FIX] setup win32: remove python and nssm on uninstallChristophe Monniez
Purpose: When uninstalling using the windows uninstaller, python and nssm were left beyond. This fix removes the python and nssm dirs also.
2017-10-03[REF] win32: move to WinPython...Christophe Monniez
Purpose: for multiple reasons (bytecode change in python 3.6, missing files for some packages, py2exe is unmaintained ...) the py2exe solution cannot be used anymore. Odoo for windows will now use a portable Python that will be shipped with the Windows installer. For that purpose, a Winpython 3.6.2 is used. In order to build the Windows installer, a Winpython dir with all the Odoo requirements fullfilled, must exists on the build system (qemu-kvm VM). * nsis installer: - Only the python dir is used to avoid packaging too much stuffs - better compression level - starts the Odoo service using nssm - bump to V11 * change the default win10 build vm path * print a warning when uncomplete addon move * try to force remove of addon path: when the addons are moved to Odoo/addons, it happens that the destination already exists. In that case, the source addon was not deleted, resulting in a uneeded file duplication. * fix version string to avoid invalid chars in windows service * Add requirements adpated for WinPython * package.py now shows the traceback when a build fails * verify that a file exists before publishing * debuild now creates an .xz file instead of .gz * package: use logging module * kvm CPU that works with older versions. * fix a pexpect encoding bug * fix the version to remove special chars '~' which is not appreciated by windows services [REM] win32setup: Remove win32 python service Purpose: Before this commit, the win32 service was managed by an executable builded from those two files with the help of py2xe. The win32 service is now managed by nssm which starts Odoo and therefore, those files are not needed anymore.
2017-04-27[FIX] builtins removed from Python 3xmo-odoo
* Reverse wrapper courtesy of @rco-odoo's original P3 branch * thin compat module stripped down from werkzeug (to augment as needed) issue 8530
2016-09-30[REL] 10.0rc1Simon Lejeune
2016-09-30[REF] packaging: renamed configuration filesSimon Lejeune
no fallbacks were implemented to `openerp-server.conf`.
2016-09-30[REF] cli: renamed openerp-server to odoo-binSimon Lejeune
The use of an entry point was considered in order to provide an `odoo` command in the path for the packages users, but the generated entry point will first check that all the things in install_requires were provided in a not bright way: it'll check that it matches a distribution name. This does not work because python-chart does not have the distrubtion name "pychart" which is provided by the python-pychart package in debian jessie. Same for suds-jurko which is provided by python-suds in debian stretch but does not have the distribution name "suds". Also, adapted the packages tests to these cli changes.
2016-09-30[REF] packaging: windows: don't hardcode service nameSimon Lejeune
Correctly pass it to the nsis script the same way it was done for the version and python version. this was a source of error at each release.
2016-09-30[REF] packaging: windows: bundle postgresql 9.5Simon Lejeune
2016-09-30[REF] packaging: openerp has been renamed odooSimon Lejeune
Fix the various place when the rename of the git root directory broke the packaging script. Also, we can now name the library "odoo".
2015-10-07[MERGE] Forward-port 9.0 up to 422f3b5dMartin Trigaux
2015-09-11[FIX] packaging: windows: adapt service nameSimon Lejeune
rev eba1133d4a updated to 10.0.
2015-09-11[FIX] packaging: windows: typosSimon Lejeune
2015-09-11[FIX] packaging: windows: bump version numberSimon Lejeune
2015-09-08[LEGAL] Switch to LGPLv3 LicenseOlivier Dony
99% of the contributors have signed the CLA The rest of them have been contacted by email and are free to either sign the CLA or ask for their contributions to be removed from Odoo Community Edition. See also: - https://www.odoo.com/cla - https://www.odoo.com/blog/odoo-news-5/post/adapting-our-open-source-license-245
2015-08-07[REF] packaging: windows: use less.js-windowsSimon Lejeune
Fixes #7951
2015-07-22[MERGE] forward port of branch saas-6 up to 63e92cbChristophe Simonis
2015-07-14[MERGE] forward port of branch 8.0 up to 86d7f52Christophe Simonis
2015-07-13[FIX] setup: wkhtmltopdf win32 download location has movedYenthe
Wkhtmltopdf has moved from Sourceforge to download.gna.org. See https://groups.google.com/forum/#!msg/wkhtmltopdf-general/wZwTUol3mXI/GNVeyrKDdqIJ Fixes #7574 Closes #7578
2015-06-02[LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate textOlivier Dony
- Preserved explicit 3rd-party copyright notices - Explicit boilerplate should not be necessary - copyright law applies automatically in all countries thanks to Berne Convention + WTO rules, and a reference to the applicable license is clear enough.
2014-12-02[MERGE] forward port of branch 8.0 up to 591e329Christophe Simonis
2014-11-21[FIX] packaging: windows: installer images odooificationSimon Lejeune
2014-11-21[ADD] tools: handling of bin_path key in find_in_pathSimon Lejeune
The openerp-server.conf now generates the bin_path record, in order to resolve calls to external binaries served in the thirdparty dir. Adpated report.py to use find_in_path and not directly which.
2014-11-21[ADD] packaging: windows: bundle wkhtmltopdf and lesscSimon Lejeune
2014-10-02[FIX] Package: Windows: service name in setup.nsiSimon Lejeune
2014-09-18[FIX] Package: Debian, Windows: more odooification; Debian: correct Packages.gzSimon Lejeune
2014-09-03[FIX] Windows packaging: AGPL licenseSimon Lejeune
2014-09-02[REF][FIX]: Windows packaging: lint, cleanup and make it workSimon Lejeune
setup.nsi: make it build and use postgresql 9.3 win32_se*: lint and simplified Makefile: only one mode
2014-09-02[REF] Packaging: moved all the windows-related files into an unique win32 ↵Simon Lejeune
directory + cleanup
2014-05-30[IMP] packaging v8 part1, tgz deb and rpmAntony Lesuisse