-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
28 lines (24 loc) · 811 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env python
from pathlib import Path
import setuptools
requirements_file = Path(__file__).parent / 'requirements.txt'
with requirements_file.open('r') as fh:
requirement_lines = fh.readlines()
dev_requirements_file = Path(__file__).parent / 'requirements-dev.txt'
with dev_requirements_file.open('r') as fh:
dev_requirement_lines = fh.readlines()
setuptools.setup(
name='gitfails',
description='Mock common troublesome git scenarios',
url='https://github.com/keithchev/git-fails',
packages=setuptools.find_packages(),
python_requires='~=3.10',
zip_safe=False,
entry_points={
'console_scripts': [
'gitfails = gitfails.cli.cli:cli',
]
},
install_requires=requirement_lines,
extras_require={'dev': dev_requirement_lines},
)