Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alice
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trinitas
alice
Commits
83dfa630
Commit
83dfa630
authored
Apr 18, 2022
by
gyulaid
Browse files
Options
Downloads
Patches
Plain Diff
#23
PackageMananger for virtualenv
parent
26ccb698
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
alice-ci/setup.cfg
+0
-4
0 additions, 4 deletions
alice-ci/setup.cfg
alice-ci/src/alice/runners/pythonrunner.py
+2
-1
2 additions, 1 deletion
alice-ci/src/alice/runners/pythonrunner.py
with
2 additions
and
5 deletions
alice-ci/setup.cfg
+
0
−
4
View file @
83dfa630
...
@@ -22,12 +22,8 @@ packages =
...
@@ -22,12 +22,8 @@ packages =
python_requires
=
>=3.6
python_requires
=
>=3.6
install_requires
=
install_requires
=
PyYAML
PyYAML
virtualenv
docker
docker
[options.entry_points]
[options.entry_points]
console_scripts
=
console_scripts
=
alice = alice.cli:main
alice = alice.cli:main
#[options.packages.find]
#
where
=
src
\ No newline at end of file
This diff is collapsed.
Click to expand it.
alice-ci/src/alice/runners/pythonrunner.py
+
2
−
1
View file @
83dfa630
...
@@ -5,7 +5,7 @@ import sys
...
@@ -5,7 +5,7 @@ import sys
import
shlex
import
shlex
from
..exceptions
import
NonZeroRetcode
,
RunnerError
,
ConfigException
from
..exceptions
import
NonZeroRetcode
,
RunnerError
,
ConfigException
from
.pyutils
import
glob_command
from
.pyutils
import
PackageManager
,
glob_command
# TODO: Handle config like PyPiConfig
# TODO: Handle config like PyPiConfig
...
@@ -15,6 +15,7 @@ class PythonRunner:
...
@@ -15,6 +15,7 @@ class PythonRunner:
self
.
workdir
=
config
[
"
workdir
"
]
self
.
workdir
=
config
[
"
workdir
"
]
self
.
virtual_dir
=
os
.
path
.
abspath
(
os
.
path
.
join
(
self
.
workdir
,
"
venv
"
))
self
.
virtual_dir
=
os
.
path
.
abspath
(
os
.
path
.
join
(
self
.
workdir
,
"
venv
"
))
self
.
config
=
config
self
.
config
=
config
PackageManager
.
getInstance
().
ensure
(
"
build
"
)
self
.
__init_venv
()
self
.
__init_venv
()
def
__init_venv
(
self
):
def
__init_venv
(
self
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment