mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-07-04 01:15:41 +02:00
20 lines
366 B
Python
20 lines
366 B
Python
from setuptools import setup
|
|
import os
|
|
|
|
|
|
def link_parent(src, target=None):
|
|
if target is None:
|
|
target = src
|
|
try:
|
|
os.symlink(os.path.join("..", src), target)
|
|
except FileExistsError:
|
|
pass
|
|
|
|
|
|
link_parent('README.md')
|
|
|
|
link_parent('git-filter-repo', 'git_filter_repo.py')
|
|
|
|
|
|
setup(use_scm_version=dict(root="..", relative_to=__file__))
|