Skip to content

Commit 8e9eec6

Browse files
committed
Initial commit
0 parents  commit 8e9eec6

File tree

5 files changed

+140
-0
lines changed

5 files changed

+140
-0
lines changed

.gitignore

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# Created by https://www.gitignore.io
2+
3+
### Python ###
4+
# Byte-compiled / optimized / DLL files
5+
__pycache__/
6+
*.py[cod]
7+
8+
# C extensions
9+
*.so
10+
11+
# Distribution / packaging
12+
.Python
13+
env/
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.coverage
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
47+
# Translations
48+
*.mo
49+
*.pot
50+
51+
# Django stuff:
52+
*.log
53+
54+
# Sphinx documentation
55+
docs/_build/
56+
57+
# PyBuilder
58+
target/
59+
60+
61+
### IPythonNotebook ###
62+
# Temporary data
63+
.ipynb_checkpoints/
64+
65+
66+
### OSX ###
67+
.DS_Store
68+
.AppleDouble
69+
.LSOverride
70+
71+
# Icon must end with two \r
72+
Icon
73+
74+
# Thumbnails
75+
._*
76+
77+
# Files that might appear on external disk
78+
.Spotlight-V100
79+
.Trashes
80+
81+
# Directories potentially created on remote AFP share
82+
.AppleDB
83+
.AppleDesktop
84+
Network Trash Folder
85+
Temporary Items
86+
.apdisk
87+
88+
89+
### Linux ###
90+
*~
91+
92+
# KDE directory preferences
93+
.directory
94+
95+
# Linux trash folder which might appear on any partition or disk
96+
.Trash-*
97+
98+
99+
### Vim ###
100+
[._]*.s[a-w][a-z]
101+
[._]s[a-w][a-z]
102+
*.un~
103+
Session.vim
104+
.netrwhist
105+
*~
106+

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
recursive-include *.txt
2+
include README.rst

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Python Standard Library List
2+
----------------------------
3+
4+
This package includes lists of all of the standard libraries for versions of Python ``>=`` 2.6, along with the code for scraping the official Python docs to get said lists.

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
beautifulsoup4
2+
requests

setup.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import setuptools
2+
3+
4+
try:
5+
with open('README.rst') as f:
6+
long_description = f.read()
7+
except IOError:
8+
long_description = ""
9+
try:
10+
with open("'requirements.txt'") as f:
11+
requirements = [x for x in [y.strip() for y in f.readlines()] if x]
12+
except IOError:
13+
requirements = []
14+
15+
16+
setuptools.setup(
17+
name='python-stdlib-list',
18+
license='MIT',
19+
author='Jack Maney',
20+
author_email='[email protected]',
21+
url='https://github.com/jackmaney/python-stdlib-list',
22+
version='0.0.0',
23+
install_requires=requirements,
24+
description='Scraping the Python Docs for the names of all the standard libraries.',
25+
long_description=long_description
26+
)

0 commit comments

Comments
 (0)