mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-06-29 23:25:37 +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
|
||||
|
||||
[options]
|
||||
scripts = git-filter-repo
|
||||
py_modules = git_filter_repo
|
||||
python_requires = >= 3.5
|
||||
setup_requires = setuptools_scm
|
||||
|
||||
[options.entry_points]
|
||||
console_scripts =
|
||||
git-filter-repo = git_filter_repo:main
|
||||
|
||||
[bdist_wheel]
|
||||
universal = 1
|
||||
|
|
|
@ -11,11 +11,9 @@ def link_parent(src, target=None):
|
|||
pass
|
||||
|
||||
|
||||
for f in ['git-filter-repo', 'README.md']:
|
||||
link_parent(f)
|
||||
link_parent('README.md')
|
||||
|
||||
link_parent('git-filter-repo', 'git_filter_repo.py')
|
||||
|
||||
|
||||
setup(use_scm_version=dict(root="..", relative_to=__file__),
|
||||
entry_points={'console_scripts': ['git-filter-repo = git_filter_repo:main']})
|
||||
setup(use_scm_version=dict(root="..", relative_to=__file__))
|
||||
|
|
Loading…
Reference in New Issue
Block a user