-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.py
31 lines (27 loc) · 1.24 KB
/
publish.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
31
from quickpub import publish, Version, MypyRunner, PylintRunner, UnittestRunner, PypircEnforcer, LocalVersionEnforcer, \
ReadmeEnforcer, PypiRemoteVersionEnforcer, LicenseEnforcer, GithubUploadTarget, PypircUploadTarget, \
SetuptoolsBuildSchema, CondaPythonProvider
def main() -> None:
publish(
name="danielutils",
version="1.0.2",
author="danielnachumdev",
author_email="[email protected]",
description="A python utils library for things I find useful",
min_python=Version(3, 8, 0),
homepage="https://github.com/danielnachumdev/danielutils",
enforcers=[
PypircEnforcer(), ReadmeEnforcer(), LicenseEnforcer(),
LocalVersionEnforcer(), PypiRemoteVersionEnforcer()
],
build_schemas=[SetuptoolsBuildSchema()],
upload_targets=[PypircUploadTarget(), GithubUploadTarget()],
python_interpreter_provider=CondaPythonProvider(["base", "39", "380"]),
global_quality_assurance_runners=[
MypyRunner(bound="<=110", configuration_path="./mypy.ini"),
PylintRunner(bound=">=0.8", configuration_path="./.pylintrc"),
UnittestRunner(bound=">=0.5"),
],
)
if __name__ == "__main__":
main()