Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
irp
Fresnel
Commits
e42ff760
Commit
e42ff760
authored
Jun 07, 2021
by
Leon Merten Lohse
Browse files
Source version from dedicated module
parent
a114998c
Pipeline
#201761
failed with stages
in 2 minutes and 19 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
fresnel/__init__.py
View file @
e42ff760
from
.version
import
__version__
fresnel/version.py
0 → 100644
View file @
e42ff760
__version__
=
"0.1"
requirements.txt
deleted
100644 → 0
View file @
a114998c
numpy
>= 1.19.4
scipy
>= 1.5.2
setup.py
View file @
e42ff760
...
...
@@ -7,9 +7,14 @@ except ImportError:
' or you need to install the PEP 518 requirements in pyproject.toml yourself'
,
file
=
sys
.
stderr
)
raise
# following https://packaging.python.org/guides/single-sourcing-package-version/
version
=
{}
with
open
(
"fresnel/version.py"
)
as
fp
:
exec
(
fp
.
read
(),
version
)
setup
(
name
=
"fresnel"
,
version
=
"0.1"
,
version
=
version
[
'__version__'
]
,
author
=
'Leon M. Lohse'
,
author_email
=
'llohse@uni-goettingen.de'
,
url
=
'https://gitlab.gwdg.de/irp/fresnel'
,
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment