Skip to content

Commit

Permalink
chore: ignore test dir in build
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed May 16, 2022
1 parent bd5c1dd commit 5cf1e06
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 40 deletions.
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
.env
.DS_Store
__pycache__
build
dist
.coverage
.DS_Store
.env
*.egg-info
venv
dist
htmlcov
.coverage
venv
69 changes: 38 additions & 31 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,69 @@
# CHANGELOG

## v1.8.0 (2022-05-15)

- Overhaul the build process (uses the `build` package instead of the legacy `python setup.py` command)
- Simplifies the GitHub release workflow by using the new Makefile build targets
- Ignores the test directory in the build
- Pins all development dependencies

## v1.7.1 (2022-02-10)

* Update Makefile install target to not symlink to the home directory
* Update Black to use the `preview` flag
* Bump dev dependencies
- Update Makefile install target to not symlink to the home directory
- Update Black to use the `preview` flag
- Bump dev dependencies

## v1.7.0 (2021-11-29)

* Adds `mypy` and type hinting via `py.typed`
* Simplifies template module (removes unused class)
* Adds missing `__all__` variable to `__init__.py`
* Simplifies the lint step of the build by only running checks once (previously some checks were getting run twice)
* Tests against Python `3.10`
- Adds `mypy` and type hinting via `py.typed`
- Simplifies template module (removes unused class)
- Adds missing `__all__` variable to `__init__.py`
- Simplifies the lint step of the build by only running checks once (previously some checks were getting run twice)
- Tests against Python `3.10`

## v1.6.0 (2021-10-08)

* Adds `Black` and `iSort` as dev dependencies
* Adds a `pyproject.toml` file to configure Python tools
* Completely refactors the `Makefile` to include new tools and better ways of invoking previous ones
* Removes `.github/FUNDING.yml` file in favor of `.github` global files
- Adds `Black` and `iSort` as dev dependencies
- Adds a `pyproject.toml` file to configure Python tools
- Completely refactors the `Makefile` to include new tools and better ways of invoking previous ones
- Removes `.github/FUNDING.yml` file in favor of `.github` global files

## v1.5.0 (2021-09-10)

* Drops support for Python 3.6
* Removes the `mock` library in favor of the builtin `unittest.mock` library
* Fix some typos
- Drops support for Python 3.6
- Removes the `mock` library in favor of the builtin `unittest.mock` library
- Fix some typos

## v1.4.0 (2021-07-12)

* Clarified various pieces of info
* Unified more text replacements for easier usage of the template when getting started
- Clarified various pieces of info
- Unified more text replacements for easier usage of the template when getting started

## v1.3.0 (2021-05-31)

* Pins dependencies and moves them to a constant
* Adds missing lines to code coverage report
- Pins dependencies and moves them to a constant
- Adds missing lines to code coverage report

## v1.2.0 (2021-01-30)

* Fixed the Coveralls command in GitHub Actions, builds now pass with their new platform requirement flag
* Added a `release.yml` file to automate PyPI releasing via GitHub Actions
- Fixed the Coveralls command in GitHub Actions, builds now pass with their new platform requirement flag
- Added a `release.yml` file to automate PyPI releasing via GitHub Actions

## v1.1.1 (2021-01-09)

* Removed all references to Travis-CI and replace with GitHub Actions
* Bumped the year in LICENSE
* Added clarifying statement in README to remove all extra assets
- Removed all references to Travis-CI and replace with GitHub Actions
- Bumped the year in LICENSE
- Added clarifying statement in README to remove all extra assets

## v1.1.0 (2021-01-05)

* Added GitHub Actions
* Added `conftest.py`
* Updated `README` with much more verbose instructions on changing details of the project to get you started
* Added test coverage
* Correcting lint Makefile target to point to the unit folder
- Added GitHub Actions
- Added `conftest.py`
- Updated `README` with much more verbose instructions on changing details of the project to get you started
- Added test coverage
- Correcting lint Makefile target to point to the unit folder

## v1.0.0 (2020-11-19)

* Initial release
* Makefile, README, setup.py, .travis.yml, LICENSE, test suite, module, assets, and more included to save time and energy on your next Python project
- Initial release
- Makefile, README, setup.py, .travis.yml, LICENSE, test suite, module, assets, and more included to save time and energy on your next Python project
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ coverage:

## clean - Remove the virtual environment and clear out .pyc files
clean:
rm -rf $(VIRTUAL_ENV) dist build *.egg-info .coverage
rm -rf $(VIRTUAL_ENV) dist *.egg-info .coverage
find . -name '*.pyc' -delete

## black - Runs the Black Python formatter against the project
Expand Down
13 changes: 11 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,17 @@
url='http://github.com/USERNAME/PROJECT_NAME_URL',
author='USERNAME',
license='MIT',
packages=setuptools.find_packages(),
package_data={'PROJECT_NAME_URL': ['py.typed']},
packages=setuptools.find_packages(
exclude=[
'examples',
'test',
]
),
package_data={
'PROJECT_NAME_URL': [
'py.typed',
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit 5cf1e06

Please sign in to comment.