packaging

Sharepoint 2010 Project package: Cannot add a new project output assembly to the package

≯℡__Kan透↙ 提交于 2019-12-25 04:42:56
问题 When creating a Sharepoint 2010 project in VB.NET and wanting to deploy an additional referenced assembly you cannot add a new project output assembly to the package. To replicate the issue: Open Sharepoint 2010 project in Visual Studio 2010 Open "package\package.Package" Select "Advanced" In the Additional Assemblies area select "Add | Add assembly from Project Output..." This error is then presented: Cannot add a new project output assembly to the package. The path is not of a legal form.

How to package and release a Ruby application?

落花浮王杯 提交于 2019-12-25 01:47:08
问题 I,ve got a Ruby app (so no Rails!) and want to release it to 'the public'. On my mac, I've set up the $PATH to include the bin directory of my app, so I can just type executable_name as a command. However, when somebody installs the app, they would have to add the bin directory to their $PATH like I did. This is not as easy as I would like. Is it possible to let users install with Homebrew or something similar? Or maybe I'm missing something I did't know about? How do you guys generally go

Conform with File Hierarchy Standard on Linux: where to put binary examples for a library?

China☆狼群 提交于 2019-12-24 15:33:12
问题 I am creating a debian package for a library and would like to install binary samples. I was thinking to put them under /usr/share/libname , but lintian complains (arch-dependent-file-in-usr-share). According FHS this correct, but where can put those files? 回答1: It's actually not correct according to the FHS; /usr/share is quite explicitly for "architecture-independent data". /usr/lib is the arch-dependent equivalent, and that's probably what you want ( /usr/lib/libname ). See http://www

Installing from custom index setup.py

若如初见. 提交于 2019-12-24 11:34:24
问题 I am the package maintainer of a package that has dependencies to packages hosted in our own pip repository. I want these packages to also be installed when doing pip install mypackage . setup( name='mypackage', version='1.1.2', description='My awesome package', dependency_links=[ 'http://www.myrepo.se/packages/mydep1/', 'http://www.myrepo.se/packages/mydep2/' ] install_requires=[ 'mydep1==1.0.0', 'mydep2==5.6.7' ] ) The folder structure in the repo is the following: packages/ mydep1/ mydep1

Scripts installed by the deb package have wrong prefix

匆匆过客 提交于 2019-12-24 10:48:30
问题 Building our own deb packages we've run into the issue of having to patch manually some scripts so they get the proper prefix. In particular, We're building mono We're using official tarballs. The scripts that end up with wrong prefix are: mcs, xbuild, nunit-console4, etc An example of a wrong script: #!/bin/sh exec /root/7digital-mono/mono/bin/mono \ --debug $MONO_OPTIONS \ /root/7digital-mono/mono/lib/mono/2.0/nunit-console.exe "$@" What should be the correct end result: #!/bin/sh exec /usr

Launch with Java 7 in Debian package

泪湿孤枕 提交于 2019-12-24 09:59:35
问题 I've created a Debian package for my application that depends on openjdk-7-jre, problem is I also need to ensure it's launched with Java 7 (chances are Java 6 is still the default.) At present I have Exec=java -jar Application.jar ...which will obviously just take the default Java install. I could specify something like: Exec=/usr/lib/jvm/java-1.7.0-openjdk-i386/bin/java -jar Application.jar ...but I'm a bit weary because the architecture (i386) bit is in there, and if that changes then

Xamarin in Visual Studio packaging failed | mono-symbolicate error -1073740791

笑着哭i 提交于 2019-12-24 09:40:47
问题 I'm getting the following error when trying to packaging my Xamarin Android application. The application works perfectly in debug mode on my mobile, now I'm just trying to generate the APK and I get this error message: Archiving App Bundle 'PoolHeatingClient'... Creating archive directory 'PoolHeatingClient'... Creating directory 'C:\Users\entro\AppData\Local\Xamarin\Mono for Android\Archives\2016-10-29\PoolHeatingClient 10-29-16 4.21 PM.apkarchive'... Deleting files '*.apk'... Packaging

How do i run the python 'sdist' command from within a python automated script without using subprocess?

杀马特。学长 韩版系。学妹 提交于 2019-12-24 03:05:47
问题 I am writing a script to automate the packaging of a 'home-made' python module and distributing it on a remote machine. i am using Pip and have created a setup.py file but i then have to call the subprocess module to call the "python setup.py sdist" command. i have looked at the "run_setup" method in distutils.core but i am trying to avoid using the subprocess module alltogether. (i see no point in opening a shell to run a python command if i am already in python...) is there a way to import

How do i run the python 'sdist' command from within a python automated script without using subprocess?

谁说胖子不能爱 提交于 2019-12-24 03:05:09
问题 I am writing a script to automate the packaging of a 'home-made' python module and distributing it on a remote machine. i am using Pip and have created a setup.py file but i then have to call the subprocess module to call the "python setup.py sdist" command. i have looked at the "run_setup" method in distutils.core but i am trying to avoid using the subprocess module alltogether. (i see no point in opening a shell to run a python command if i am already in python...) is there a way to import

How to build subpackages defined in .spec files using CPACK

旧城冷巷雨未停 提交于 2019-12-23 22:15:56
问题 Following this tutorial on Spec File Changes For Subpackages I was able to create two RPMs with a single build doing the following: My spec file is something like: Name: @CPACK_PACKAGE_NAME@ License: the license Summary: the summary Group: Applications Version: @CPACK_PACKAGE_RELEASE_VERSION@.@CPACK_PACKAGE_MINOR_VERSION@.@CPACK_PACKAGE_SERVICE_PACK@ Release: @CPACK_PACKAGE_BUILD@ %description the description... %package utils Summary: the utils Group: Applications %description utils