Skip to content

Commit

Permalink
Initial release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbean-bremen committed Apr 4, 2021
1 parent a9d8d28 commit 154e1e3
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 9 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
======================================
Changelog for pytest-find-dependencies
======================================

0.1.0 (2021-04-04)
------------------

First PyPI release.

New Features
~~~~~~~~~~~~
* find dependencies in tests as long as they are based on the test modules
themselves
7 changes: 5 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
include LICENSE
include README.rst
include CHANGELOG.rst
include tox.ini

recursive-exclude * __pycache__
recursive-exclude * *.py[co]
graft tests

global-exclude __pycache__/*
8 changes: 6 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[metadata]
license_file = LICENSE

description-file = README.rst
license_files = LICENSE
[bdist_wheel]
universal = 0
[tool:pytest]
testpaths = tests
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/usr/bin/env python
import codecs
import os

from setuptools import setup, find_packages
from src.find_dependencies import __version__


def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(file_path, encoding='utf-8').read()
def read(file_name):
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, file_name)) as f:
return f.read()


setup(
Expand Down
2 changes: 1 addition & 1 deletion src/find_dependencies/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0dev"
__version__ = "0.1.0"

0 comments on commit 154e1e3

Please sign in to comment.