Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
discus
pydtnsim
Commits
61bf0aab
Commit
61bf0aab
authored
Jun 29, 2022
by
ArktikHunter
Browse files
fix setup error
parent
2031d229
Pipeline
#10914
failed with stage
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
61bf0aab
#!/usr/bin/env python
"""Set up features."""
from
distutils.core
import
setup
from
os
import
path
...
...
@@ -8,7 +10,7 @@ def extract_version():
with
open
(
path
.
join
(
'pydtnsim'
,
'__init__.py'
))
as
f
:
for
line
in
f
:
if
line
.
startswith
(
'__version__'
):
return
line
.
split
(
'
"'
)[
1
]
return
line
.
split
(
"'
"
)[
1
]
def
extract_requirements
():
"""Extract requirements function."""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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