Skip to content

Commit

Permalink
Merge pull request #35 from KOLANICH-tools/setup.cfg
Browse files Browse the repository at this point in the history
Moved the metadata into `setup.cfg`
  • Loading branch information
dmeybohm authored Jul 12, 2023
2 parents 34aae98 + f7e445a commit 14e6b5c
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 27 deletions.
15 changes: 9 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
.idea/
*.pyc
dist/
/clonetest

/.idea/
*.py[co]
/dist/
/build
/__pycache__/
/*.egg-info
/*.egg
venv/
.mypy_cache/
.pytest_cache/
/venv/
/.mypy_cache/
/.pytest_cache/
3 changes: 0 additions & 3 deletions bin/editorconfig-git-preserve-history

This file was deleted.

1 change: 0 additions & 1 deletion editorconfig_git_preserve_history/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from .main import find_and_write_commits
File renamed without changes.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
19 changes: 19 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[metadata]
name = EditorConfigGitPreserveHistory
author = David Meybohm
author_email = [email protected]
license = MIT
description = Commit changes from editorconfig and preserve authorship
url = http://github.com/dmeybohm/editorconfig-git-preserve-history
long_description = file: README.rst
long_description_content_type = text/x-rst

[options]
packages = editorconfig_git_preserve_history
install_requires = EditorConfig>=0.12.1; dateutil
test_suite = nose.collector
tests_require = nose

[options.entry_points]
console_scripts =
editorconfig-git-preserve-history = editorconfig_git_preserve_history.__main__:find_and_write_commits
17 changes: 0 additions & 17 deletions setup.py

This file was deleted.

0 comments on commit 14e6b5c

Please sign in to comment.