Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cfb2252

Browse files
committed
no message
1 parent 653e2d4 commit cfb2252

File tree

5 files changed

+55
-0
lines changed

5 files changed

+55
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) [year] [fullname]
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
把代码上传到 PyPI

‎moumoubaimifan/simple_pip_upload/example/__init__.py‎

Whitespace-only changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
def add(i, y):
2+
print(str(i) + " + " + str(y) + " = " + str((i + y)))
3+
4+
5+
def sub(i, y):
6+
print(str(i) + " - " + str(y) + " = " + str((i - y)))
7+
8+
9+
def mul(i, y):
10+
print(str(i) + " * " + str(y) + " = " + str((i * y)))
11+
12+
13+
def div(i, y):
14+
print(str(i) + " / " + str(y) + " = " + str((i / y)))
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import setuptools
2+
3+
4+
setuptools.setup(
5+
name="simple_pip_upload",
6+
version="0.0.2",
7+
author="moumoubaimifan",
8+
author_email="example@example.com",
9+
description="一个简单的四则运算 PyPI 上传例子",
10+
long_description="一个简单的 PyPI 上传测试",
11+
long_description_content_type="text/markdown",
12+
url="https://simple_pip_upload.xx",
13+
packages=setuptools.find_packages(),
14+
classifiers=[
15+
"Programming Language :: Python :: 3",
16+
"License :: OSI Approved :: MIT License",
17+
"Operating System :: OS Independent",
18+
],
19+
)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /