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
42cd970f
Commit
42cd970f
authored
9 years ago
by
David Verelst
Browse files
Options
Downloads
Patches
Plain Diff
updated PyScaffold configuration
parent
2a4f8014
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
setup.cfg
+6
-3
6 additions, 3 deletions
setup.cfg
setup.py
+6
-15
6 additions, 15 deletions
setup.py
wetb/__init__.py
+6
-0
6 additions, 0 deletions
wetb/__init__.py
with
18 additions
and
18 deletions
setup.cfg
+
6
−
3
View file @
42cd970f
...
@@ -45,11 +45,13 @@ packages =
...
@@ -45,11 +45,13 @@ packages =
# PDF =
# PDF =
# ReportLab>=1.2
# ReportLab>=1.2
# RXP
# RXP
#ALL =
# django
# cookiecutter
[test]
[test]
# py.test options when running `python setup.py test`
# py.test options when running `python setup.py test`
addopts
=
addopts
=
tests
tests
[pytest]
[pytest]
# Options for py.test:
# Options for py.test:
...
@@ -68,6 +70,7 @@ docs = build_sphinx
...
@@ -68,6 +70,7 @@ docs = build_sphinx
universal
=
0
universal
=
0
[build_sphinx]
[build_sphinx]
# Options for Sphinx build
source_dir
=
docs
source_dir
=
docs
build_dir
=
docs/_build
build_dir
=
docs/_build
...
@@ -85,4 +88,4 @@ autodoc_tree_index_modules = True
...
@@ -85,4 +88,4 @@ autodoc_tree_index_modules = True
# Options for the devpi: PyPI serer and packaging tool
# Options for the devpi: PyPI serer and packaging tool
# VCS export must be deactivated since we are using setuptools-scm
# VCS export must be deactivated since we are using setuptools-scm
no-vcs
=
1
no-vcs
=
1
format
=
bdist_wheel
format
s
=
bdist_wheel
This diff is collapsed.
Click to expand it.
setup.py
+
6
−
15
View file @
42cd970f
#!/usr/bin/env python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
"""
"""
Setup file for w
afo
.
Setup file for w
etb
.
This file was generated with PyScaffold 2.
4.2
, a tool that easily
This file was generated with PyScaffold 2.
5
, a tool that easily
puts up a scaffold for your new Python project. Learn more under:
puts up a scaffold for your new Python project. Learn more under:
http://pyscaffold.readthedocs.org/
http://pyscaffold.readthedocs.org/
"""
"""
from
__future__
import
division
,
absolute_import
,
print_function
# numpy.distutils will figure out if setuptools is available when imported
# this allows us to combine setuptools use_pyscaffold=True and f2py extensions
import
setuptools
from
numpy.distutils.core
import
setup
#from numpy.distutils.misc_util import Configuration
import
sys
import
sys
from
setuptools
import
setup
def
setup_package_pyscaffold
():
def
setup_package
():
needs_sphinx
=
{
'
build_sphinx
'
,
'
upload_docs
'
}.
intersection
(
sys
.
argv
)
needs_sphinx
=
{
'
build_sphinx
'
,
'
upload_docs
'
}.
intersection
(
sys
.
argv
)
sphinx
=
[
'
sphinx
'
]
if
needs_sphinx
else
[]
sphinx
=
[
'
sphinx
'
]
if
needs_sphinx
else
[]
setup
(
setup_requires
=
[
'
six
'
,
'
pyscaffold>=2.4rc1,<2.5a0
'
]
+
sphinx
,
setup
(
setup_requires
=
[
'
six
'
,
'
pyscaffold>=2.5a0,<2.6a0
'
]
+
sphinx
,
tests_require
=
[
'
pytest_cov
'
,
'
pytest
'
],
use_pyscaffold
=
True
)
use_pyscaffold
=
True
)
if
__name__
==
"
__main__
"
:
if
__name__
==
"
__main__
"
:
setup_package
_pyscaffold
()
setup_package
()
This diff is collapsed.
Click to expand it.
wetb/__init__.py
+
6
−
0
View file @
42cd970f
import
pkg_resources
try
:
__version__
=
pkg_resources
.
get_distribution
(
__name__
).
version
except
:
__version__
=
'
unknown
'
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