Page MenuHomeDevCentral

D3539.diff
No OneTemporary

D3539.diff

diff --git a/.gitignore b/.gitignore
new file mode 100644
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+packages/wheel/LICENSE
+packages/wheel/README.md
+packages/wheel/dist/
+packages/wheel/src/
diff --git a/packages/wheel/Makefile b/packages/wheel/Makefile
new file mode 100644
--- /dev/null
+++ b/packages/wheel/Makefile
@@ -0,0 +1,44 @@
+# -------------------------------------------------------------
+# wurf :: Web Upload and Receive Files
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: GPLv2+
+# -------------------------------------------------------------
+
+CP=cp -p
+MKDIR=mkdir -p
+RMDIR=rm -rf
+PYTHON=python
+TOUCH=touch
+
+# -------------------------------------------------------------
+# Main targets
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+all:
+
+package: src/wurf/wurf.py LICENSE README.md dist
+
+clean: clean-package
+
+
+# -------------------------------------------------------------
+# Packaging targets
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+README.md:
+ ${CP} ../../README.md .
+
+LICENSE:
+ ${CP} ../../LICENSE .
+
+src/wurf/wurf.py:
+ ${MKDIR} src/wurf
+ ${TOUCH} src/wurf/__init__.py
+ ${CP} ../../src/wurf.py src/wurf/
+
+dist:
+ ${PYTHON} -m build
+
+clean-package:
+ ${RMDIR} dist src README.md LICENSE
diff --git a/packages/wheel/bin/wurf b/packages/wheel/bin/wurf
new file mode 100755
--- /dev/null
+++ b/packages/wheel/bin/wurf
@@ -0,0 +1,15 @@
+#!/usr/bin/env python3
+
+# -------------------------------------------------------------
+# wurf :: Web Upload and Receive Files
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: GPLv2+
+# -------------------------------------------------------------
+
+
+from wurf import wurf
+
+
+if __name__ == "__main__":
+ wurf.main()
diff --git a/packages/wheel/pyproject.toml b/packages/wheel/pyproject.toml
new file mode 100644
--- /dev/null
+++ b/packages/wheel/pyproject.toml
@@ -0,0 +1,14 @@
+# -------------------------------------------------------------
+# wurf - Web Upload and Receive Files
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: GPLv2+
+# -------------------------------------------------------------
+
+[build-system]
+requires = [
+ "setuptools>=42",
+ "wheel"
+]
+
+build-backend = "setuptools.build_meta"
diff --git a/packages/wheel/setup.cfg b/packages/wheel/setup.cfg
new file mode 100644
--- /dev/null
+++ b/packages/wheel/setup.cfg
@@ -0,0 +1,34 @@
+[metadata]
+name = wurf
+version = 1.0.0
+author = Sébastien Santoro
+author_email = dereckson@espace-win.org
+description = Web Upload and Receive Files
+long_description = file: README.md
+long_description_content_type = text/markdown
+license = GPLv2+
+license_files = LICENSE
+url = https://devcentral.nasqueron.org/source/wurf/
+project_urls =
+ Bug Tracker = https://devcentral.nasqueron.org/tag/wurf/
+classifiers =
+ Programming Language :: Python :: 3
+ License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
+ Operating System :: OS Independent
+ Environment :: Console
+ Intended Audience :: Developers
+ Intended Audience :: End Users/Desktop
+ Intended Audience :: System Administrators
+ Topic :: Communications :: File Sharing
+ Topic :: Internet :: WWW/HTTP :: HTTP Servers
+
+[options]
+package_dir =
+ = src
+packages = find:
+scripts =
+ bin/wurf
+python_requires = >=3.6
+
+[options.packages.find]
+where = src

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 07:00 (12 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2257465
Default Alt Text
D3539.diff (3 KB)

Event Timeline