Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
PyWake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TOPFARM
PyWake
Commits
98080a38
Commit
98080a38
authored
4 years ago
by
Mads M. Pedersen
Browse files
Options
Downloads
Patches
Plain Diff
Update setup.py
parent
40d46b06
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.py
+17
-10
17 additions, 10 deletions
setup.py
with
17 additions
and
10 deletions
setup.py
+
17
−
10
View file @
98080a38
...
...
@@ -3,11 +3,16 @@
Setup file for PyWake
"""
import
os
from
git_utils
import
write_vers
from
setuptools
import
setup
,
find_packages
import
pkg_resources
repo
=
os
.
path
.
dirname
(
__file__
)
version
=
write_vers
(
vers_file
=
'
py_wake/__init__.py
'
,
repo
=
repo
,
skip_chars
=
1
)
try
:
from
git_utils
import
write_vers
version
=
write_vers
(
vers_file
=
'
py_wake/__init__.py
'
,
repo
=
repo
,
skip_chars
=
1
)
except
Exception
:
version
=
'
999
'
try
:
from
pypandoc
import
convert_file
...
...
@@ -28,7 +33,7 @@ setup(name='py_wake',
author_email
=
'
mmpe@dtu.dk
'
,
license
=
'
MIT
'
,
packages
=
find_packages
(),
package_data
=
{
package_data
=
{
'
py_wake
'
:
[
'
examples/data/iea37/*.yaml
'
,
'
tests/test_files/fuga/2MW/Z0=0.03000000Zi=00401Zeta0=0.00E+0/*.*
'
],
},
...
...
@@ -37,15 +42,17 @@ setup(name='py_wake',
'
numpy
'
,
# for numerical calculations
'
xarray
'
,
# for WaspGridSite data storage
'
autograd
'
,
# gradient calculation
'
pytest
'
,
# for testing
'
pytest-cov
'
,
# for calculating coverage
'
pyyaml
'
,
# for reading yaml files
'
scipy
'
,
# constraints
'
tqdm
'
,
# progressbar
'
sphinx
'
,
# generating documentation
'
sphinx_rtd_theme
'
,
# docs theme
'
ipywidgets
'
,
# notebook widgets
'
line_profiler
'
,
# to check speed
'
ipywidgets
'
,
# notebook widgets
],
extras_require
=
{
'
test
'
:
[
'
pytest
'
,
# for testing
'
pytest-cov
'
,
# for calculating coverage
'
sphinx
'
,
# generating documentation
'
sphinx_rtd_theme
'
,
# docs theme
'
line_profiler
'
,
# to check speed
]},
zip_safe
=
True
)
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