-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (26 loc) · 827 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
29
30
#!/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='tjsg',
description='Tiny JSON schema generator',
url='https://github.com/keithchev/tiny-json-schema-generator',
packages=setuptools.find_packages(),
python_requires='>3.7',
zip_safe=False,
entry_points={
'console_scripts': [
'tjsg-demo = tjsg.scripts.demo:main',
]
},
install_requires=requirement_lines,
extras_require={
'dev': dev_requirement_lines
}
)