Debian Codegraph @

tests/test_files/req_all.py

raw
1 # Copyright 2014 Facundo Batista, Nicolás Demarchi
2 #
3 # This program is free software: you can redistribute it and/or modify it
4 # under the terms of the GNU General Public License version 3, as published
5 # by the Free Software Foundation.
6 #
7 """
8 Extended class from EnvBuilder to create a venv using a uuid4 id.
9
10 NOTE: this class only work in the same python version that Fades is
11 running. So, you don't need to have installed a virtualenv tool. For
12 other python versions Fades needs a virtualenv tool installed.
13 fades:
14 foo==1.4
15 """
16
17
18 class FooClass():
19 """Create always a virtualenv.
20 requirements for fades:
21 bar>1.8.9
22 """
23 def __init__(self):
24 pass
25
26 def create(self, interpreter):
27 """
28 Create a virtualenv using the virtualenv lib.
29 fades:
30 more>1.6
31 """
32 print("create")