File tree Expand file tree Collapse file tree 7 files changed +29
-38
lines changed
Expand file tree Collapse file tree 7 files changed +29
-38
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,14 @@ help:
1010 @echo " clean ------------ - Clean all distribution build artifacts."
1111 @echo " clean-pyc ------ - Remove .pyc/__pycache__ files."
1212 @echo " clean-build ---- - Remove setup artifacts."
13- @echo " build ------------ - Regenarate setup.py and rebuild python package."
13+ @echo " build ------------ - Rebuild python package."
14+
1415 @echo "upload ------------- - Upload built python package on pypi server."
1516
1617install :
1718 $(PIP ) install -r requirements/dev.txt
1819 $(PIP ) install -r requirements/requirements.txt
20+ $(PYTHON ) -m pip install --upgrade build twine
1921
2022test :
2123 $(PYTHON ) -m pytest
@@ -30,10 +32,9 @@ clean-build:
3032clean : clean-pyc clean-build
3133
3234build :
33- $(PYTHON ) generate_setup.py
34- $(PYTHON ) setup.py sdist bdist_wheel
35+ $(PYTHON ) -m build
3536
3637dist : clean build
3738
3839upload :
39- $(PYTHON ) setup.py sdist upload -r " ${PYPISERVERNAME} "
40+ $(PYTHON ) -m twine upload -r " ${PYPISERVERNAME} " dist/ *
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" hatchling" ]
3+ build-backend = " hatchling.build"
4+ [project ]
5+ dynamic = [" version" ]
6+ dependencies = [" requests" ]
7+ name = " hawkcatcher"
8+ authors = [{
name =
" CodeX Team" ,
email =
" [email protected] " }]
9+ description = " Python errors Catcher module for Hawk."
10+ readme = " README.md"
11+ requires-python = " >=3.5"
12+ classifiers = [
13+ " Intended Audience :: Developers" ,
14+ " Topic :: Software Development :: Bug Tracking" ,
15+ " License :: OSI Approved :: MIT License" ,
16+ " Programming Language :: Python :: 3.5" ,
17+ " Environment :: Console" ,
18+ " Environment :: Web Environment" ,
19+ ]
20+ [tool .hatch .version ]
21+ path = " src/hawkcatcher/__init__.py"
22+ [project .urls ]
23+ Homepage = " https://github.com/codex-team/hawk.python"
24+ Issues = " https://github.com/codex-team/hawk.python/issues"
Load Diff This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments