From d2ca865308a7d0252cc6017abacaa83c8aefacab Mon Sep 17 00:00:00 2001 From: han0 Date: Wed, 11 Nov 2020 09:09:44 +0800 Subject: [PATCH] init: initial commit --- .gitignore | 7 +++++++ README.md | 1 + README.rst | 1 + nc_http/__init__.py | 1 + package.py | 10 ++++++++++ requirements.txt | 1 + setup.cfg | 20 ++++++++++++++++++++ setup.py | 3 +++ 8 files changed, 44 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 README.rst create mode 100644 nc_http/__init__.py create mode 100644 package.py create mode 100644 requirements.txt create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..804125c --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +venv/ +__pycache__/ +*.ini +.eggs/ +*.egg-info +dist/ +build/ \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..f67fdaa --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# nc_http \ No newline at end of file diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..0582708 --- /dev/null +++ b/README.rst @@ -0,0 +1 @@ +nc_http \ No newline at end of file diff --git a/nc_http/__init__.py b/nc_http/__init__.py new file mode 100644 index 0000000..b3c06d4 --- /dev/null +++ b/nc_http/__init__.py @@ -0,0 +1 @@ +__version__ = "0.0.1" \ No newline at end of file diff --git a/package.py b/package.py new file mode 100644 index 0000000..b23039e --- /dev/null +++ b/package.py @@ -0,0 +1,10 @@ + +package = { + 'name': 'nc_http', + 'version': '0.0.1', + 'author': 'han0', + 'email': 'wslshanlin@sina.com', + 'scripts': { + 'default': 'echo 请输入明确的命令名称' + } +} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4f2259f --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +pycman \ No newline at end of file diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..f152606 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,20 @@ + +[metadata] +name = nc_http +author = han0 +author-email = wslshanlin@sina.com +summary = awsome project created by pycman. +license = MIT +description-file = + README.rst +home-page = http://example.com +requires-python = >= 3.6 + +[files] +packages = + nc_http + + +[entry_points] +console_scripts = + cmd=package.module:function diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..bf7daf3 --- /dev/null +++ b/setup.py @@ -0,0 +1,3 @@ + +import setuptools +setuptools.setup(setup_requires=['pbr'], pbr=True)