software-distribution

Cythonize but not compile .pyx files using setup.py

▼魔方 西西 提交于 2020-03-22 04:36:01
问题 I have a Cython project containing several .pyx files. To distribute my project I would like to provide my generated .c files as recommended in the Cython documentation, to minimize problems with different Cython versions. My current work flow is to build the project using: me@machine$ python setup.py build_ext --inplace This cythonizes (i.e. translate .pyx files to .c / .cpp files using Cython) all .pyx files and then compiles them. For a release I do not need the compiled ( .so ) files, so

Cythonize but not compile .pyx files using setup.py

拥有回忆 提交于 2020-03-22 04:35:08
问题 I have a Cython project containing several .pyx files. To distribute my project I would like to provide my generated .c files as recommended in the Cython documentation, to minimize problems with different Cython versions. My current work flow is to build the project using: me@machine$ python setup.py build_ext --inplace This cythonizes (i.e. translate .pyx files to .c / .cpp files using Cython) all .pyx files and then compiles them. For a release I do not need the compiled ( .so ) files, so

Distributing python application tutorials

安稳与你 提交于 2020-03-05 14:14:38
问题 Hi as a python newbie I have written a small python application that can convert an excel worksheet into a sqlite database table. Its not a terribly complex application but it does make use of external modules/package like xlrd (http://pypi.python.org/pypi/xlrd) which I had to download and install when writing my app. Now that is all done I would like to distribute it amongst my friends, all windows users, while they have python on their machines, they may or may not have the xlrd modules. I

CMake: build cross-platform distribution

你说的曾经没有我的故事 提交于 2020-02-21 06:02:20
问题 On my MacOSX I've developed an application that makes use of Qt and VTK libraries. I generate the makefile using CMake. Now I want to compile an end-user self-contained package on Windows, and it is supposed to work on end-user machine without needing to pre-install Qt or VTK libraries. I think is possible to do this by modifying the CMakeLists.txt file but a web search hasn't pointed me the right direction. How to make a distributable package for Windows using CMake? 回答1: What I have done in

CMake: build cross-platform distribution

自作多情 提交于 2020-02-21 05:58:08
问题 On my MacOSX I've developed an application that makes use of Qt and VTK libraries. I generate the makefile using CMake. Now I want to compile an end-user self-contained package on Windows, and it is supposed to work on end-user machine without needing to pre-install Qt or VTK libraries. I think is possible to do this by modifying the CMakeLists.txt file but a web search hasn't pointed me the right direction. How to make a distributable package for Windows using CMake? 回答1: What I have done in

CMake: build cross-platform distribution

霸气de小男生 提交于 2020-02-21 05:58:05
问题 On my MacOSX I've developed an application that makes use of Qt and VTK libraries. I generate the makefile using CMake. Now I want to compile an end-user self-contained package on Windows, and it is supposed to work on end-user machine without needing to pre-install Qt or VTK libraries. I think is possible to do this by modifying the CMakeLists.txt file but a web search hasn't pointed me the right direction. How to make a distributable package for Windows using CMake? 回答1: What I have done in

Distributing a HTML Document

会有一股神秘感。 提交于 2020-01-25 23:07:24
问题 I am creating a HTML 5 user manual. This contains a number of image folders and js fodlers. Now i wish to distribute this as a single document. In Windows there is mht or something to that effect. Is there any way I can do this on ubuntu that is not browser or OS dependent? 回答1: notice that :MHTML, short for MIME HTML, is a web page archive format used to bind resources which are typically represented by external links (such as images, Flash animations, Java applets, audio files) together

UWP App Installation without admin rights, powershell interaction and without Windows Store?

懵懂的女人 提交于 2020-01-15 12:13:06
问题 Any windows uwp "experts" here? I've been researching on the below mentioned topic for a day now as I couldn't believe there is no way that we can distribute our UWP App. Is it really not possible to distribute an UWP App through a different channel than the store without having to manually run+interact with the powershell script? Because we can't really do that for our customers everytime. They also do not have admin rights and are not allowed to use the normal windows store . Just

UWP App Installation without admin rights, powershell interaction and without Windows Store?

牧云@^-^@ 提交于 2020-01-15 12:12:30
问题 Any windows uwp "experts" here? I've been researching on the below mentioned topic for a day now as I couldn't believe there is no way that we can distribute our UWP App. Is it really not possible to distribute an UWP App through a different channel than the store without having to manually run+interact with the powershell script? Because we can't really do that for our customers everytime. They also do not have admin rights and are not allowed to use the normal windows store . Just

distributing R package containing unit tests

吃可爱长大的小学妹 提交于 2020-01-14 12:44:30
问题 so I decided I would put my few R functions into a package and I'm reading/learning Writing R Extension. it obviously complains about an amount of things I'm not doing right. after enough googling, I'm firing a few questions here, this one is about testing style: I am using RUnit and I like having tests as close possible to the code being tested. this way I won't forget about the tests and I use the tests as part of the technical documentation. for example: fillInTheBlanks <- function(S) { ##