Skip to content

Commit 6ad43a4

Browse files
committed
added setup.py
1 parent 8de65da commit 6ad43a4

2 files changed

Lines changed: 150 additions & 0 deletions

File tree

.gitignore

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,111 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
downloads/
14+
eggs/
15+
.eggs/
16+
lib/
17+
lib64/
18+
parts/
19+
sdist/
20+
var/
21+
wheels/
22+
*.egg-info/
23+
.installed.cfg
24+
*.egg
25+
MANIFEST
26+
dist/
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
.hypothesis/
48+
.pytest_cache/
49+
50+
# Translations
51+
*.mo
52+
*.pot
53+
54+
# Django stuff:
55+
*.log
56+
local_settings.py
57+
db.sqlite3
58+
59+
# Flask stuff:
60+
instance/
61+
.webassets-cache
62+
63+
# Scrapy stuff:
64+
.scrapy
65+
66+
# Sphinx documentation
67+
docs/_build/
68+
69+
# PyBuilder
70+
target/
71+
72+
# Jupyter Notebook
73+
.ipynb_checkpoints
74+
75+
# pyenv
76+
.python-version
77+
78+
# celery beat schedule file
79+
celerybeat-schedule
80+
81+
# SageMath parsed files
82+
*.sage.py
83+
84+
# Environments
85+
.env
86+
.venv
87+
env/
88+
venv/
89+
ENV/
90+
env.bak/
91+
venv.bak/
92+
93+
# Spyder project settings
94+
.spyderproject
95+
.spyproject
96+
97+
# Rope project settings
98+
.ropeproject
99+
100+
# mkdocs documentation
101+
/site
102+
103+
# mypy
104+
.mypy_cache/
105+
106+
# DS Store
107+
.DS_Store
108+
1109
HackersAndSlackers-d2a47db89384.json
2110
HackersAndSlackers-d2a47db89384.json
3111
HackersAndSlackers-4893023543f3.json

setup.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
"""A setuptools based setup module."""
2+
from os import path
3+
from setuptools import setup, find_packages
4+
from io import open
5+
6+
here = path.abspath(path.dirname(__file__))
7+
8+
# Get the long description from the README file
9+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
10+
long_description = f.read()
11+
12+
setup(
13+
name='Flask Session Tutorial',
14+
version='0.0.1',
15+
description='Tutorial for interacting with Google Cloud Storage via the Python SDK.',
16+
long_description=long_description,
17+
long_description_content_type='text/markdown',
18+
url='https://github.com/hackersandslackers/googlecloud-storage-tutorial',
19+
author='Todd Birchard',
20+
author_email='todd@hackersandslackers.com',
21+
classifiers=[
22+
'Programming Language :: Python :: 3',
23+
'Programming Language :: Python :: 3.7',
24+
],
25+
keywords='Google Cloud SDK Python Storage',
26+
packages=find_packages(),
27+
install_requires=['google-cloud-storage'],
28+
extras_require={
29+
'dev': ['check-manifest'],
30+
'test': ['coverage'],
31+
'env': ['python-dotenv']
32+
},
33+
entry_points={
34+
'console_scripts': [
35+
'install=main:__main__',
36+
],
37+
},
38+
project_urls={
39+
'Bug Reports': 'https://github.com/hackersandslackers/googlecloud-storage-tutorial/issues',
40+
'Source': 'https://github.com/hackersandslackers/googlecloud-storage-tutorial/',
41+
},
42+
)

0 commit comments

Comments
 (0)