2022-05-04 15:02:55 +02:00
|
|
|
from setuptools import setup, find_packages
|
2022-08-08 14:12:19 +02:00
|
|
|
import os
|
2022-05-04 15:02:55 +02:00
|
|
|
|
2022-08-08 14:12:19 +02:00
|
|
|
with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), "r") as f:
|
|
|
|
reqs = f.readlines()
|
|
|
|
|
|
|
|
install_requirements = []
|
|
|
|
for req in reqs:
|
|
|
|
req = req.strip()
|
|
|
|
if "==" in req:
|
|
|
|
install_requirements.append(req)
|
2022-05-04 15:02:55 +02:00
|
|
|
|
|
|
|
setup(
|
|
|
|
name = 'repo_cloner',
|
|
|
|
version = '0.1',
|
|
|
|
packages = find_packages(),
|
|
|
|
entry_points = {
|
2022-08-06 02:11:44 +02:00
|
|
|
'console_scripts': [
|
2022-08-08 08:00:58 +02:00
|
|
|
'rc-update-mirror=repo_cloner.process_repository_dir:main',
|
|
|
|
'rc-init-wizard=repo_cloner.initialization_wizard:main',
|
|
|
|
'rc-prepare-git-tree=repo_cloner.prepare_git_tree:main',
|
|
|
|
]
|
2022-05-04 15:02:55 +02:00
|
|
|
},
|
2022-08-08 14:12:19 +02:00
|
|
|
install_requires = install_requirements,
|
2022-05-04 15:02:55 +02:00
|
|
|
)
|