From ab3c16201b9b0b5bd08dae1f0dc73c548ce6d5fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lopes=20de=20Oliveira=20Jr?= Date: Tue, 18 Sep 2018 20:34:45 -0300 Subject: [PATCH] pypi packaging done --- setup.py | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/setup.py b/setup.py index 032519e..ee70393 100644 --- a/setup.py +++ b/setup.py @@ -1,16 +1,23 @@ #!/usr/bin/env python3 -from setuptools import setup -from codecs import open +import setuptools -setup( - name='netbox-scanner', - packages=['netbox-scanner'], - version='0.0.2', - description='', - long_description=open('README.txt',encoding='utf-8').read(), +with open("README.md", "r") as fh: + long_description = fh.read() + +setuptools.setup( + name="netbox-scanner", + version="0.0.3", author='José Lopes de Oliveira Jr.', - license='MIT License', - url='https://github.com/forkd/netbox-scanner', - keywords=['netbox','ipam','network','scanner'] + author_email="jlojunior@gmail.com", + description="A scanner util for NetBox", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/forkd/netbox-scanner", + packages=setuptools.find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], )