Movatterモバイル変換


[0]ホーム

URL:


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
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
/asyncioPublic archive

Commit13d7f67

Browse files
committed
Changes by Sonald Stufft to build pypi distros. Yay!
1 parent6ea686a commit13d7f67

File tree

6 files changed

+39
-10
lines changed

6 files changed

+39
-10
lines changed

‎.hgignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ venv$
1010
distribute_setup.py$
1111
distribute-\d+.\d+.\d+.tar.gz$
1212
build$
13+
dist$
14+
.*\.egg-info$

‎MANIFEST.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
include Makefile
2+
include *.c *.py
3+
4+
recursive-include examples *.py
5+
recursive-include tests *.crt
6+
recursive-include tests *.key
7+
recursive-include tests *.py

‎Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,12 @@ clean:
3030
rm -f`find. -type f -name'#*#'`
3131
rm -f`find. -type f -name'*.orig'`
3232
rm -f`find. -type f -name'*.rej'`
33+
rm -rf dist
3334
rm -f .coverage
3435
rm -rf htmlcov
36+
rm -f MANIFEST
37+
38+
39+
# Make distributions for Python 3.3
40+
pypi: clean
41+
python3.3 setup.py sdist upload

‎pypi.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
c:\Python33\python.exe setup.py bdist_wheel upload

‎setup.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎setup.py

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
11
importos
2-
fromdistutils.coreimportsetup,Extension
2+
fromsetuptoolsimportsetup,Extension
33

44
extensions= []
55
ifos.name=='nt':
6-
ext=Extension('_overlapped', ['overlapped.c'],libraries=['ws2_32'])
6+
ext=Extension(
7+
'asyncio._overlapped', ['overlapped.c'],libraries=['ws2_32'],
8+
)
79
extensions.append(ext)
810

9-
setup(name='asyncio',
10-
description="reference implementation of PEP 3156",
11-
url='http://www.python.org/dev/peps/pep-3156/',
12-
packages=['asyncio'],
13-
ext_modules=extensions
14-
)
11+
setup(
12+
name="asyncio",
13+
version="0.1.1",
14+
15+
description="reference implementation of PEP 3156",
16+
long_description=open("README").read(),
17+
url="http://www.python.org/dev/peps/pep-3156/",
18+
19+
classifiers=[
20+
"Programming Language :: Python",
21+
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: 3.3",
23+
],
24+
25+
packages=["asyncio"],
26+
27+
ext_modules=extensions,
28+
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp