- nodejs-fixdep: add --move option - nodejs-symlink-deps: add --optional option - req: generate suggests for optional dependenciesepel9
parent
1656b7eafa
commit
207e477ec0
@ -1,19 +0,0 @@
|
||||
commit 36e6f21081588f54b15c059e67576451ff457cdf
|
||||
Author: Tom Hughes <tom@compton.nu>
|
||||
Date: Mon Nov 16 17:20:04 2015 +0000
|
||||
|
||||
nodejs-symlink-deps: handle caret in versions
|
||||
|
||||
diff --git a/nodejs-symlink-deps b/nodejs-symlink-deps
|
||||
index 624293d..f984e3b 100755
|
||||
--- a/nodejs-symlink-deps
|
||||
+++ b/nodejs-symlink-deps
|
||||
@@ -78,7 +78,7 @@ def symlink_deps(deps, check):
|
||||
|
||||
for dep, ver in deps.iteritems():
|
||||
if dep in mvpkgs and ver != '' and ver != '*':
|
||||
- depver = ver.lstrip('~').split('.')[0]
|
||||
+ depver = ver.lstrip('~^').split('.')[0]
|
||||
target = os.path.join(sitelib, '{0}@{1}'.format(dep, depver))
|
||||
else:
|
||||
target = os.path.join(sitelib, dep)
|
Loading…
Reference in new issue