Comments (4)
Somehow fixed. Or should we make it as a decorator instead of method property?
from paver.
I am dubious about this fix -- it causes regression and might not work properly on systems without virtualenv.
So, at least, please add note to changelog.
from paver.
you tested it? It works properly for me. I'll revise it once again then
from paver.
imo works as expected:
yed@rublan ~/skript/paver $ cat pavement.py
from paver.tasks import *
from paver.easy import *
from paver.virtual import *
from paver.virtual import bootstrap
@task
def foo(options):
print 'foo!'
@task
def bar(options):
call_task('paver.virtual.bootstrap')
yed@rublan ~/skript/paver $ paver foo
---> pavement.foo
foo!yed@rublan ~/skript/paver $ paver bar
---> pavement.barCaptured Task Output:
---> pavement.bar
Traceback (most recent call last): File "/home/yed/skript/paver/src/paverr/paver/tasks.py", line 190, in _run_task return do_task() File "/home/yed/skript/paver/src/paverr/paver/tasks.py", line 187, in do_task return func(**kw) File "pavement.py", line 12, in bar call_task('paver.virtual.bootstrap') File "/home/yed/skript/paver/src/paverr/paver/easy.py", line 81, in __call__ return self.__get_object()(*args, **kw) File "/home/yed/skript/paver/src/paverr/paver/tasks.py", line 135, in call_task task.paver_constraint() File "/home/yed/skript/paver/src/paverr/paver/virtual.py", line 61, in _boostrap_constraint raise Exception("`virtualenv` is needed to use paver's virtualenv tasks") Exception: `virtualenv` is needed to use paver's virtualenv tasks
from paver.
Related Issues (20)
- paver crash if open UTF-8 file on Windows 7 HOT 4
- Paver breaks "six" with Python 3.6 HOT 5
- Unvendor path HOT 1
- Drop bazaar
- Set up automatic changelog HOT 2
- Paver install doesn't work / python-six issue HOT 15
- Properly handling six installation HOT 2
- The official website on github headline is dead HOT 1
- doctools incompatible with Sphinx 1.7.0+
- Sharing arguments between tasks?
- [1.3.4] Install fails on python 3.6 HOT 6
- Doesn't work with virtualenv 20 HOT 3
- Remove unnecessary external modules HOT 3
- Paver's syspath is not correct when running directly
- @needs does not seem to work on Windows 10 HOT 4
- 1.3.4: bytecode compile fails HOT 2
- 1.3.4: on python 3.x issues installs paver/deps/path2.py HOT 2
- 1.3.4: pytest warnings HOT 1
- Proposing a PR to fix a few small typos HOT 1
- Chinese Translation Needed? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paver.