aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 12:18:51 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 12:19:04 +0300
commita9467d34a7020b3fc1ebe733dda2672a34e49137 (patch)
treec7bc7e21d754da7cd37950163cec68d412856c31
parentREADME: update (diff)
downloadcgitize-a9467d34a7020b3fc1ebe733dda2672a34e49137.tar.gz
cgitize-a9467d34a7020b3fc1ebe733dda2672a34e49137.zip
add packaging metadata
-rw-r--r--.gitignore4
-rw-r--r--pyproject.toml3
-rw-r--r--setup.cfg25
-rw-r--r--setup.py2
4 files changed, 34 insertions, 0 deletions
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()