-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* UStack -> Stack -> (to) ustl. Edit setup.py and simplify working with packages. Add deprecation for UStack * fix issues from sourcery's review * Update examples/ustack.md Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> * Update examples/ustack.md Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> * Update examples/ustack.md Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> * Update examples/ustack.md Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --------- Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
- Loading branch information
1 parent
60a276d
commit 02a621d
Showing
6 changed files
with
103 additions
and
83 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
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,4 +1,4 @@ | ||
from setuptools import setup | ||
from setuptools import setup, find_packages | ||
|
||
from ufpy import __version__ | ||
|
||
|
@@ -9,13 +9,12 @@ | |
'requests>=2.31.0', | ||
] | ||
|
||
author = 'bleudev' | ||
author_email = '[email protected]' | ||
organization_name = 'honey-team' | ||
author, author_email = 'bleudev', '[email protected]' | ||
project_name = 'ufpy' | ||
github_url = f'https://github.com/{organization_name}/{project_name}' | ||
|
||
def __package(name: str) -> str: | ||
return f'{project_name}.{name}' | ||
|
||
setup( | ||
name=project_name, | ||
|
@@ -27,16 +26,12 @@ def __package(name: str) -> str: | |
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url=github_url, | ||
packages=[ | ||
project_name, | ||
__package('typ'), | ||
__package('github'), | ||
], | ||
packages=find_packages(), | ||
classifiers=[ | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.12', | ||
], | ||
zip_safe=False, | ||
python_requires=">=3.12", | ||
install_requires=install_requires | ||
) | ||
) |
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
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
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 @@ | ||
from ufpy.ustl.stack import * |
Oops, something went wrong.