Skip to content

Commit

Permalink
chore(ci): deploy info
Browse files Browse the repository at this point in the history
  • Loading branch information
elhoangvu committed Apr 15, 2024
1 parent 6472607 commit 350e0d7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 26 deletions.
34 changes: 17 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,37 @@
"""

import os
from setuptools import setup

about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(
file=os.path.join(here, "src", "dictrule", "__version__.py"),
mode="r",
encoding="utf-8",
) as file:
exec(file.read(), about)
__title__ = "dictrule"
__description__ = "Python rules defined by a dict and a text generator from the rules"
__url__ = "https://github.com/elhoangvu/dictrule"
__version__ = "0.1.0"
__author__ = "Zooxy Le"
__author_email__ = "elhoangvu@gmail.com"
__license__ = "Apache-2.0"
__copyright__ = "Copyright Zooxy Le"
__readme__ = ""

with open(file="README.md", mode="r", encoding="utf-8") as f:
readme = f.read()

if __name__ == "__main__":
setup(
name=about["__title__"],
version=about["__version__"],
description=about["__description__"],
long_description=readme,
name=__title__,
version=__version__,
description=__description__,
long_description=__readme__,
long_description_content_type="text/markdown",
author=about["__author__"],
author_email=about["__author_email__"],
url=about["__url__"],
author=__author__,
author_email=__author_email__,
url=__url__,
packages=[],
package_data={"": ["LICENSE", "NOTICE"]},
package_dir={"": "src"},
include_package_data=True,
python_requires=">=3.7",
license=about["__license__"],
license=__license__,
zip_safe=False,
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down
9 changes: 0 additions & 9 deletions src/dictrule/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,3 @@
\__,_/_/\___/\__/_/ \__,_/_/\___/ |___/\___/_/ /____/_/\____/_/ /_/
"""

__title__ = "dictrule"
__description__ = "Python rules defined by a dict and a text generator from the rules"
__url__ = "https://github.com/elhoangvu/dictrule"
__version__ = "0.1.0"
__author__ = "Zooxy Le"
__author_email__ = "elhoangvu@gmail.com"
__license__ = "Apache-2.0"
__copyright__ = "Copyright Zooxy Le"

0 comments on commit 350e0d7

Please sign in to comment.