mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-07-02 00:15:38 +02:00
fix duplicate setuptools entry point script
Signed-off-by: Theodore Ni <3806110+tjni@users.noreply.github.com>
This commit is contained in:
parent
4bc9022afc
commit
a59e67e791
|
@ -23,10 +23,13 @@ platforms = any
|
||||||
license = MIT
|
license = MIT
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
scripts = git-filter-repo
|
|
||||||
py_modules = git_filter_repo
|
py_modules = git_filter_repo
|
||||||
python_requires = >= 3.5
|
python_requires = >= 3.5
|
||||||
setup_requires = setuptools_scm
|
setup_requires = setuptools_scm
|
||||||
|
|
||||||
|
[options.entry_points]
|
||||||
|
console_scripts =
|
||||||
|
git-filter-repo = git_filter_repo:main
|
||||||
|
|
||||||
[bdist_wheel]
|
[bdist_wheel]
|
||||||
universal = 1
|
universal = 1
|
||||||
|
|
|
@ -11,11 +11,9 @@ def link_parent(src, target=None):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
for f in ['git-filter-repo', 'README.md']:
|
link_parent('README.md')
|
||||||
link_parent(f)
|
|
||||||
|
|
||||||
link_parent('git-filter-repo', 'git_filter_repo.py')
|
link_parent('git-filter-repo', 'git_filter_repo.py')
|
||||||
|
|
||||||
|
|
||||||
setup(use_scm_version=dict(root="..", relative_to=__file__),
|
setup(use_scm_version=dict(root="..", relative_to=__file__))
|
||||||
entry_points={'console_scripts': ['git-filter-repo = git_filter_repo:main']})
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user