From a9467d34a7020b3fc1ebe733dda2672a34e49137 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 13 Apr 2021 12:18:51 +0300 Subject: add packaging metadata --- .gitignore | 4 ++++ pyproject.toml | 3 +++ setup.cfg | 25 +++++++++++++++++++++++++ setup.py | 2 ++ 4 files changed, 34 insertions(+) create mode 100644 pyproject.toml create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index 7a60b85..8b77993 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ __pycache__/ *.pyc + +/build/ +/dist/ +/*.egg-info/ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9787c3b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b13d8b1 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,25 @@ +[metadata] +name = cgitize +version = 0.1 +author = Egor Tensin +author_email = Egor.Tensin@gmail.com +description = Mirror your git repositories and make them cgit-ready +long_description = file: README.md +long_description_content_type = text/markdown +license = MIT +url = https://github.com/egor-tensin/cgitize +project_urls = + Bug Tracker = https://github.com/egor-tensin/cgitize/issues +classifiers = + Development Status :: 4 - Beta + License :: OSI Approved :: MIT License + Programming Language :: Python :: 3 + Topic :: Software Development :: Version Control :: Git + +[options] +packages = find: +python_requires = >=3.6 + +[options.entry_points] +console_scripts = + cgitize = cgitize.main:main diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a4f49f9 --- /dev/null +++ b/setup.py @@ -0,0 +1,2 @@ +import setuptools +setuptools.setup() -- cgit v1.2.3