Skip to content

Commit 60b8b16

Browse files
🔥 Remove __init__.py in favor of PEP 420, closes google#291
1 parent 6a87d27 commit 60b8b16

3 files changed

Lines changed: 34 additions & 64 deletions

File tree

python/sqlcommenter-python/google/__init__.py

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

python/sqlcommenter-python/google/cloud/__init__.py

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

python/sqlcommenter-python/setup.py

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import os
1818

19-
from setuptools import find_packages, setup
19+
from setuptools import find_namespace_packages, setup
2020

2121

2222
def read_file(filename):
@@ -25,39 +25,41 @@ def read_file(filename):
2525

2626

2727
setup(
28-
name='google-cloud-sqlcommenter',
29-
version='2.0.0',
30-
author='Google Developers',
31-
author_email='sqlcommenter@googlegroups.com',
32-
description=('Augment SQL statements with meta information about frameworks and the running environment.'),
33-
long_description=read_file('README.md'),
34-
long_description_content_type='text/markdown',
35-
license='BSD',
36-
packages=find_packages(exclude=['tests']),
37-
install_requires=['asgiref', 'fastapi'],
28+
name="google-cloud-sqlcommenter",
29+
version="2.0.1",
30+
author="Google Developers",
31+
author_email="sqlcommenter@googlegroups.com",
32+
description=(
33+
"Augment SQL statements with meta information about frameworks and the running environment."
34+
),
35+
long_description=read_file("README.md"),
36+
long_description_content_type="text/markdown",
37+
license="BSD",
38+
packages=find_namespace_packages(exclude=["tests"]),
39+
install_requires=["asgiref", "fastapi"],
3840
extras_require={
39-
'django': ['django >= 1.11'],
40-
'flask': ['flask'],
41-
'fastapi': ['fastapi'],
42-
'psycopg2': ['psycopg2'],
43-
'sqlalchemy': ['sqlalchemy'],
44-
'opencensus': ['opencensus'],
45-
'opentelemetry': ["opentelemetry-api ~= 1.0"],
41+
"django": ["django >= 1.11"],
42+
"flask": ["flask"],
43+
"fastapi": ["fastapi"],
44+
"psycopg2": ["psycopg2"],
45+
"sqlalchemy": ["sqlalchemy"],
46+
"opencensus": ["opencensus"],
47+
"opentelemetry": ["opentelemetry-api ~= 1.0"],
4648
},
4749
classifiers=[
48-
'Development Status :: 4 - Beta',
49-
'Environment :: Web Environment',
50-
'Intended Audience :: Developers',
51-
'License :: OSI Approved :: BSD License',
52-
'Operating System :: OS Independent',
53-
'Programming Language :: Python :: 3',
54-
'Programming Language :: Python :: 3.6',
55-
'Programming Language :: Python :: 3.7',
56-
'Programming Language :: Python :: 3.8',
57-
'Programming Language :: Python :: 3.9',
58-
'Topic :: Utilities',
59-
'Framework :: Django',
60-
'Framework :: Django :: 2.1',
61-
'Framework :: Django :: 2.2',
50+
"Development Status :: 4 - Beta",
51+
"Environment :: Web Environment",
52+
"Intended Audience :: Developers",
53+
"License :: OSI Approved :: BSD License",
54+
"Operating System :: OS Independent",
55+
"Programming Language :: Python :: 3",
56+
"Programming Language :: Python :: 3.6",
57+
"Programming Language :: Python :: 3.7",
58+
"Programming Language :: Python :: 3.8",
59+
"Programming Language :: Python :: 3.9",
60+
"Topic :: Utilities",
61+
"Framework :: Django",
62+
"Framework :: Django :: 2.1",
63+
"Framework :: Django :: 2.2",
6264
],
6365
)

0 commit comments

Comments
 (0)