-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (24 loc) · 809 Bytes
/
setup.py
File metadata and controls
29 lines (24 loc) · 809 Bytes
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
from setuputil import *
import setuptools
setuptools.setup(
name=projectname,
version=version,
author="k. goger",
author_email=f"k.r.goger+{projectname}@gmail.com",
url=f"https://github.com/kr-g/{projectname}",
packages=setuptools.find_packages(),
include_package_data=True,
python_requires=python_requires,
install_requires=install_requires,
entry_points=entry_points,
)
# !!!
# python3 patch_version.py
# !!!
# python3 -m setup sdist build bdist_wheel
# test.pypi
# python3 -m twine upload --repository testpypi dist/*
# python3 -m pip install --index-url https://test.pypi.org/simple/ gitonic --extra-index-url https://pypi.org/simple/
# python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps gitonic
# pypi
# python3 -m twine upload dist/*