Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aidge_core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Houssem ROUIS
aidge_core
Commits
6df42651
Commit
6df42651
authored
11 months ago
by
Grégoire Kubler
Browse files
Options
Downloads
Patches
Plain Diff
fix : various bugs for release on windows
parent
9c04499c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.ps1
+13
-22
13 additions, 22 deletions
.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.ps1
pyproject.toml
+2
-3
2 additions, 3 deletions
pyproject.toml
setup.py
+0
-1
0 additions, 1 deletion
setup.py
with
15 additions
and
26 deletions
.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.ps1
+
13
−
22
View file @
6df42651
$Error
ActionPreference
=
"Stop"
if
(
$
(
$
env
:
AIDGE_DEPENDENCIES
-split
" "
)
.
Length
-eq
0
)
{
Write-Host
"- No dependencies provided for current repsitory"
New-Item
-ItemType
Directory
-Force
-Path
".\build"
|
Out-Null
Remove-Item
-Path
".\build\*"
-Recurse
-Force
}
else
{
Write-Host
"Retrieving given dependencies to build current package :
$
env
:
AIDGE_DEPENDENCIES
"
Write-Host
"Retrieving given dependencies to build current package :
$
env
:
AIDGE_DEPENDENCIES
"
foreach
(
$dep
in
$
(
$
env
:
AIDGE_DEPENDENCIES
-split
" "
))
{
Write-Host
"Retrieving :
$dep
"
$dep_path
=
Get-ChildItem
-Path
"/host/home/"
-Directory
-Filter
$dep
-Recurse
|
Where-Object
{
$_
.
FullName
-notmatch
'install'
-and
$_
.
FullName
-notmatch
'.git'
-and
$_
.
FullName
-notmatch
'miniconda'
-and
$_
.
FullName
-notmatch
'conda'
-and
$_
.
FullName
-notmatch
'.local'
-and
$_
.
FullName
-notmatch
'lib'
-and
$_
.
FullName
-notmatch
"\\
$dep
\\
$dep
"
}
|
Select-Object
-First
1
-ExpandProperty
FullName
if
(
-not
[
string
]::
IsNullOrEmpty
(
$dep_path
))
{
Write-Host
"Retrieving :
$dep
"
Set-Location
$dep_path
New-Item
-Path
".\build"
-ItemType
Directory
-Force
|
Out-Null
Get-ChildItem
-Path
".\build"
-File
|
Remove-Item
-Force
pip
install
.
-Verbose
}
else
{
throw
"
$dep
not found, aborting."
}
Write-Host
"Retrieving :
$dep
"
$curr_loc
=
$
(
Get-Location
)
Set-Location
..
/
$dep
Write-Host
"YYEETEEEEEEEEEEEEt"
Get-Location
Get-ChildItem
.
New-Item
-Path
".\build"
-ItemType
Directory
-Force
|
Out-Null
Get-ChildItem
-Path
".\build"
-File
|
Remove-Item
-Force
python
-m
pip
install
.
-v
Set-Location
$curr_loc
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
pyproject.toml
+
2
−
3
View file @
6df42651
[project]
name
=
"aidge_core"
description
=
"Core
implementations of the
operators and graph of
aidge
framework"
dependencies
=
["numpy>
=
1.2
6
.
4
"]
description
=
"Core
alogrithms for
operators and graph of
the AIDGE
framework"
dependencies
=
["numpy>
=
1.2
1
.
6
"]
requires-python
=
">
=
3.7
"
readme
=
"README.md"
license
=
{
file
=
"LICENSE"
}
...
...
@@ -32,7 +32,6 @@ write_to = "aidge_core/_version.py"
# CIBUILDWHEEL
[tool.cibuildwheel]
build-frontend
=
"build"
### AIDGE DEPENDENCIES DECLARATION
# aidge_core do not rely on any aidge dependency, hence this string is empty
[tool.cibuildwheel.linux.environment]
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
0
−
1
View file @
6df42651
...
...
@@ -18,7 +18,6 @@ from setuptools.command.build_ext import build_ext
def
get_project_name
()
->
str
:
with
open
(
pathlib
.
Path
().
absolute
()
/
"
pyproject.toml
"
,
"
r
"
)
as
file
:
project_toml
=
toml
.
load
(
file
)
print
(
f
"
project_name =
{
project_toml
[
"
project
"
][
"
name
"
]
}
"
)
return
project_toml
[
"
project
"
][
"
name
"
]
...
...
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