dependency-management

How does Python / pip handle conflicting transitive dependencies?

怎甘沉沦 提交于 2020-02-22 07:51:15
问题 Suppose I want to install package a which requires the packages b1 and b2 . In turn, b1 requires c > 1.0.0 and b2 requires c < 1.0.0 . So the requirements of b1 and b2 cannot be fulfilled at the same time with the same package. In principle / other programming languages, this is not a problem. One could install two versions of c side by side and make sure that b1 uses another version than b2 . However, I'm not sure if pip can install two versions of the same package. My first question is: Can

How to exclude/excludeAll com.google.code.findbugs from a Play application?

家住魔仙堡 提交于 2020-02-06 06:12:54
问题 I have a play2.4.3 application. I'm trying to exclude com.google.code.findbugs library when I distribute my application (using activator dist command). I don't directly include it, here is how I think it's included in the project: http://mvnrepository.com/artifact/com.typesafe.play/play-java_2.10/2.4.3 depends on: http://mvnrepository.com/artifact/org.reflections/reflections/0.9.9 depends on: http://mvnrepository.com/artifact/com.google.code.findbugs/annotations/2.0.1 I want to use sbt's

How to exclude/excludeAll com.google.code.findbugs from a Play application?

女生的网名这么多〃 提交于 2020-02-06 06:12:52
问题 I have a play2.4.3 application. I'm trying to exclude com.google.code.findbugs library when I distribute my application (using activator dist command). I don't directly include it, here is how I think it's included in the project: http://mvnrepository.com/artifact/com.typesafe.play/play-java_2.10/2.4.3 depends on: http://mvnrepository.com/artifact/org.reflections/reflections/0.9.9 depends on: http://mvnrepository.com/artifact/com.google.code.findbugs/annotations/2.0.1 I want to use sbt's

How to exclude/excludeAll com.google.code.findbugs from a Play application?

荒凉一梦 提交于 2020-02-06 06:11:02
问题 I have a play2.4.3 application. I'm trying to exclude com.google.code.findbugs library when I distribute my application (using activator dist command). I don't directly include it, here is how I think it's included in the project: http://mvnrepository.com/artifact/com.typesafe.play/play-java_2.10/2.4.3 depends on: http://mvnrepository.com/artifact/org.reflections/reflections/0.9.9 depends on: http://mvnrepository.com/artifact/com.google.code.findbugs/annotations/2.0.1 I want to use sbt's

Which locations on a handheld device are used by installed .exes for their dependent files?

主宰稳场 提交于 2020-02-06 03:40:16
问题 I have what seems to me an odd situation: an old .exe of the project on which I'm working runs on a handheld device. New versions don't (even the exact same code with no additions). Even that .exe that runs on one handheld device doesn't on the other. See this for some of the gory details. Based on this, I thought I could track down the problem. But this PC util tells me what is missing from that (PC/build machine) environment. I need to know what is missing/wrong on the CE device. So to

Which locations on a handheld device are used by installed .exes for their dependent files?

ぃ、小莉子 提交于 2020-02-06 03:40:07
问题 I have what seems to me an odd situation: an old .exe of the project on which I'm working runs on a handheld device. New versions don't (even the exact same code with no additions). Even that .exe that runs on one handheld device doesn't on the other. See this for some of the gory details. Based on this, I thought I could track down the problem. But this PC util tells me what is missing from that (PC/build machine) environment. I need to know what is missing/wrong on the CE device. So to

Cocoapods for development only

萝らか妹 提交于 2020-02-05 06:37:17
问题 Is there a way to use a dependency only in development? I don't want to ship the Reveal SDK :/ I'm searching for something similar to #ifdef DEBUG Can't find anything in the cocoapods docs. 回答1: Looks like it's scheduled for next release. See here: https://github.com/CocoaPods/CocoaPods/issues/731 回答2: There is an issue on the CocoaPods github that is discussing the ability to dynamically link a pod based on the selected build configuration, but there is currently no release that supports

Cocoapods for development only

蹲街弑〆低调 提交于 2020-02-05 06:36:46
问题 Is there a way to use a dependency only in development? I don't want to ship the Reveal SDK :/ I'm searching for something similar to #ifdef DEBUG Can't find anything in the cocoapods docs. 回答1: Looks like it's scheduled for next release. See here: https://github.com/CocoaPods/CocoaPods/issues/731 回答2: There is an issue on the CocoaPods github that is discussing the ability to dynamically link a pod based on the selected build configuration, but there is currently no release that supports

Gradle Does Not Include Optional Dependency

十年热恋 提交于 2020-01-29 07:12:26
问题 I have a project which has the apache-compress library as a compile time dependency. This library appears to use Maven and has a POM file with a dependency set up as "optional". Here is the relevant section of the POM file: <dependency> <groupId>org.tukaani</groupId> <artifactId>xz</artifactId> <version>1.5</version> <optional>true</optional> </dependency> Gradle does not seem to include this library in to my project, I'm guessing it is because of the "optional" attribute. Is there some way

Gradle Does Not Include Optional Dependency

时光毁灭记忆、已成空白 提交于 2020-01-29 07:12:14
问题 I have a project which has the apache-compress library as a compile time dependency. This library appears to use Maven and has a POM file with a dependency set up as "optional". Here is the relevant section of the POM file: <dependency> <groupId>org.tukaani</groupId> <artifactId>xz</artifactId> <version>1.5</version> <optional>true</optional> </dependency> Gradle does not seem to include this library in to my project, I'm guessing it is because of the "optional" attribute. Is there some way