Skip to content
Snippets Groups Projects
Commit 42cd970f authored by David Verelst's avatar David Verelst
Browse files

updated PyScaffold configuration

parent 2a4f8014
Branches
Tags
No related merge requests found
......@@ -45,11 +45,13 @@ packages =
# PDF =
# ReportLab>=1.2
# RXP
#ALL =
# django
# cookiecutter
[test]
# py.test options when running `python setup.py test`
addopts =
tests
addopts = tests
[pytest]
# Options for py.test:
......@@ -68,6 +70,7 @@ docs = build_sphinx
universal = 0
[build_sphinx]
# Options for Sphinx build
source_dir = docs
build_dir = docs/_build
......@@ -85,4 +88,4 @@ autodoc_tree_index_modules = True
# Options for the devpi: PyPI serer and packaging tool
# VCS export must be deactivated since we are using setuptools-scm
no-vcs = 1
format = bdist_wheel
formats = bdist_wheel
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Setup file for wafo.
Setup file for wetb.
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:
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
from setuptools import setup
def setup_package_pyscaffold():
def setup_package():
needs_sphinx = {'build_sphinx', 'upload_docs'}.intersection(sys.argv)
sphinx = ['sphinx'] if needs_sphinx else []
setup(setup_requires=['six', 'pyscaffold>=2.4rc1,<2.5a0'] + sphinx,
tests_require=['pytest_cov', 'pytest'],
setup(setup_requires=['six', 'pyscaffold>=2.5a0,<2.6a0'] + sphinx,
use_pyscaffold=True)
if __name__ == "__main__":
setup_package_pyscaffold()
setup_package()
import pkg_resources
try:
__version__ = pkg_resources.get_distribution(__name__).version
except:
__version__ = 'unknown'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment