Parcourir la source

setup: use readme as long description

Fabian Peter Hammerle il y a 3 ans
Parent
commit
d76670da4f
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      setup.py

+ 2 - 2
setup.py

@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
-# import pathlib
+import pathlib
 
 import setuptools
 
@@ -30,7 +30,7 @@ setuptools.setup(
     },
     packages=setuptools.find_packages(),
     description="MQTT client triggering shutdown on systemd-based systems",
-    # TODO long_description=pathlib.Path(__file__).parent.joinpath("README.md").read_text(),
+    long_description=pathlib.Path(__file__).parent.joinpath("README.md").read_text(),
     long_description_content_type="text/markdown",
     author="Fabian Peter Hammerle",
     author_email="fabian@hammerle.me",