scale-catalog/setup.py

56 lines
2.1 KiB
Python
Raw Normal View History

2022-01-16 14:33:26 +00:00
from setuptools import setup, find_packages
from os.path import abspath, dirname, join
# Fetches the content from README.md
# This will be used for the "long_description" field.
README_MD = open(join(dirname(abspath(__file__)), "README.md")).read()
setup(
2022-01-19 20:14:09 +00:00
name="truetool",
version="3.0.0",
2022-01-16 14:33:26 +00:00
# The packages that constitute your project.
# For my project, I have only one - "pydash".
# Either you could write the name of the package, or
# alternatively use setuptools.findpackages()
#
# If you only have one file, instead of a package,
# you can instead use the py_modules field instead.
# EITHER py_modules OR packages should be present.
2022-01-16 14:42:31 +00:00
packages=find_packages(),
2022-01-16 14:59:43 +00:00
entry_points = {
2022-01-19 20:14:09 +00:00
'console_scripts': ['truetool=truetool.command_line:main'],
2022-01-16 15:01:37 +00:00
},
2022-01-16 14:33:26 +00:00
# The description that will be shown on PyPI.
# Keep it short and concise
# This field is OPTIONAL
2022-01-19 20:14:09 +00:00
description="An easy utility to managed frequently used TrueNAS SCALE CLI features",
2022-01-16 14:33:26 +00:00
# The content that will be shown on your project page.
# In this case, we're displaying whatever is there in our README.md file
# This field is OPTIONAL
long_description=README_MD,
# Now, we'll tell PyPI what language our README file is in.
# In my case it is in Markdown, so I'll write "text/markdown"
# Some people use reStructuredText instead, so you should write "text/x-rst"
# If your README is just a text file, you have to write "text/plain"
# This field is OPTIONAL
long_description_content_type="text/markdown",
# The url field should contain a link to a git repository, the project's website
# or the project's documentation. I'll leave a link to this project's Github repository.
# This field is OPTIONAL
2022-01-19 20:14:09 +00:00
url="https://github.com/truecharts/truetool",
2022-01-16 14:33:26 +00:00
# The author name and email fields are self explanatory.
# These fields are OPTIONAL
2022-01-16 14:42:31 +00:00
author_name="truecharts",
author_email="into@truecharts.org",
2022-01-16 14:33:26 +00:00
# For additional fields, check:
# https://github.com/pypa/sampleproject/blob/master/setup.py
)