Skip to content

Commit

Permalink
Easier setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmitaboada committed Oct 26, 2023
1 parent b8128cd commit fbc6b94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
6 changes: 5 additions & 1 deletion codenerix_lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
__version__ = "1.0.23"

__authors__ = [
"Juanmi Taboada <[email protected]>",
"Juanmi Taboada",
]

__authors_email__ = [
"[email protected]",
]
13 changes: 2 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@
for requirement in pkg_resources.parse_requirements(requirements_txt)
]

author = ", ".join(
[author.split("<")[0] for author in codenerix_lib.__authors__],
)
author_email = ", ".join(
[
author.split("<")[-1].split(">")[0]
for author in codenerix_lib.__authors__
],
)
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

Expand All @@ -40,8 +31,8 @@
description="Basic libraries used by CODENERIX.",
long_description=README,
url="https://github.com/codenerix/codenerix-lib",
author=author,
author_email=author_email,
author=", ".join(codenerix_lib.__authors__),
author_email=", ".join(codenerix_lib.__authors_email__),
keywords=["codenerix"],
platforms=["OS Independent"],
classifiers=[
Expand Down

0 comments on commit fbc6b94

Please sign in to comment.