26 lines
628 B
Python
26 lines
628 B
Python
from setuptools import setup, find_packages
|
|
import os
|
|
|
|
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)
|
|
|
|
setup(
|
|
name = 'repo_cloner',
|
|
version = '0.1',
|
|
packages = find_packages(),
|
|
entry_points = {
|
|
'console_scripts': [
|
|
'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',
|
|
]
|
|
},
|
|
install_requires = install_requirements,
|
|
)
|