Skip to content

Commit

Permalink
Merge pull request #7 from TUW-GEO/pyscaffold
Browse files Browse the repository at this point in the history
Update pyscaffold
  • Loading branch information
sebhahn authored Mar 26, 2018
2 parents 28c81d8 + 8eba758 commit 6b411b9
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 231 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Version 0.X
===========

- Update readme
- Update pyscaffold version in setup.py because of compatibility issues with setuptools 39

Version 0.4
===========
Expand Down
6 changes: 0 additions & 6 deletions repurpose/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
import pkg_resources

try:
__version__ = pkg_resources.get_distribution(__name__).version
except:
__version__ = 'unknown'
222 changes: 0 additions & 222 deletions repurpose/_version.py

This file was deleted.

5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Setup file for repurpose.
This file was generated with PyScaffold 2.4.4, a tool that easily
This file was generated with PyScaffold 2.5.9, a tool that easily
puts up a scaffold for your new Python project. Learn more under:
http://pyscaffold.readthedocs.org/
"""
Expand All @@ -15,8 +15,7 @@
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)


Expand Down
5 changes: 5 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Add requirements only needed for your unittests and during development here.
# They will be installed automatically when running `python setup.py test`.
# ATTENTION: Don't remove pytest-cov and pytest as they are needed.
pytest-cov
pytest
12 changes: 12 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Dummy conftest.py for repurpose.
If you don't know what this is for, just leave it empty.
Read more about conftest.py under:
https://pytest.org/latest/plugins.html
"""
from __future__ import print_function, absolute_import, division

import pytest

0 comments on commit 6b411b9

Please sign in to comment.