-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Src-based folder structure with library in editable mode
Remove setup.py in favor of setup.cfg Add pyproject.toml
- Loading branch information
1 parent
4c56a7b
commit 9dfb379
Showing
9 changed files
with
93 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ name = "pypi" | |
flake8 = "*" | ||
pytest = "*" | ||
pytest-cov = "*" | ||
b3u = {editable = true, path = "."} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel" | ||
] | ||
build-backend = "setuptools.build_meta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,35 @@ | ||
[metadata] | ||
name = b3u | ||
version = 1.2.1 | ||
author = Andrei Lapets | ||
author_email = a@lapets.io | ||
description = Utility for extracting Boto3 configuration information and method parameters from AWS resource URIs. | ||
long_description = file: README.rst, LICENSE | ||
long_description_content_type = text/x-rst | ||
url = https://github.com/nthparty/b3u | ||
project_urls = | ||
Bug Tracker = https://github.com/nthparty/b3u/issues | ||
classifiers = | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
License :: OSI Approved :: MIT License | ||
Operating System :: OS Independent | ||
|
||
license = MIT | ||
platforms = any | ||
|
||
[options] | ||
package_dir = | ||
= src | ||
packages = find: | ||
python_requires = >=3.6 | ||
|
||
[options.packages.find] | ||
where = src | ||
|
||
[flake8] | ||
max-line-length = 119 | ||
doctests = True | ||
max-line-length = 120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .b3u import b3u | ||
|
||
__all__ = ['b3u', ] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
from b3u.b3u import b3u | ||
|
||
|
||
def func(): | ||
print("hello") | ||
from b3u import b3u | ||
|
||
|
||
def test_credentials(): | ||
|