Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WindEnergyToolbox
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
wtlib
WindEnergyToolbox
Commits
975e6056
Commit
975e6056
authored
8 years ago
by
Mads M. Pedersen
Browse files
Options
Downloads
Patches
Plain Diff
changed rootdir to WindEnergyToolbox/wetb
parent
ab95885b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
setup.cfg
+1
-1
1 addition, 1 deletion
setup.cfg
setup.py
+8
-34
8 additions, 34 deletions
setup.py
with
9 additions
and
35 deletions
setup.cfg
+
1
−
1
View file @
975e6056
...
...
@@ -62,7 +62,7 @@ packages =
#addopts =
# --cov wetb --cov-report term-missing
# --verbose
python_files
=
wetb/*
python_files
=
WindEnergyToolbox/
wetb/*
[aliases]
docs
=
build_sphinx
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
8
−
34
View file @
975e6056
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Setup file for wetb.
This file was generated with PyScaffold 2.5, a tool that easily
puts up a scaffold for your new Python project. Learn more under:
http://pyscaffold.readthedocs.org/
"""
import
os
import
sys
from
setuptools
import
setup
import
numpy
as
np
from
distutils.core
import
setup
from
distutils.extension
import
Extension
from
Cython.Distutils
import
build_ext
import
numpy
ext_modules
=
[
Extension
(
"
wetb.fatigue_tools.rainflowcounting.pair_range
"
,
[
"
./wetb/fatigue_tools/rainflowcounting/pair_range.pyx
"
],
include_dirs
=
[
numpy
.
get_include
()])]
def
setup_package
():
path
=
'
wetb/fatigue_tools/rainflowcounting/
'
module
=
'
wetb.fatigue_tools.rainflowcounting
'
names
=
[
'
pair_range
'
,
'
peak_trough
'
,
'
rainflowcount_astm
'
]
extlist
=
[
Extension
(
'
%s.%s
'
%
(
module
,
n
),
[
os
.
path
.
join
(
path
,
n
)
+
'
.pyx
'
],
include_dirs
=
[
np
.
get_include
()])
for
n
in
names
]
needs_sphinx
=
{
'
build_sphinx
'
,
'
upload_docs
'
}.
intersection
(
sys
.
argv
)
sphinx
=
[
'
sphinx
'
]
if
needs_sphinx
else
[]
setup
(
setup_requires
=
[
'
six
'
,
'
pyscaffold>=2.5a0,<2.6a0
'
]
+
sphinx
,
cmdclass
=
{
'
build_ext
'
:
build_ext
},
ext_modules
=
extlist
,
use_pyscaffold
=
True
)
if
__name__
==
"
__main__
"
:
setup_package
()
setup
(
name
=
'
name
'
,
cmdclass
=
{
'
build_ext
'
:
build_ext
},
ext_modules
=
ext_modules
)
\ No newline at end of file
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