Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


Python build package

19 Sep 2021 »

setup.py

from setuptools import setup, find_packages
import codecs
import os


VERSION = '0.0.1'
DESCRIPTION = 'test'
LONG_DESCRIPTION = 'test'

# Setting up
setup(
    name="crashlaker-t1",
    version=VERSION,
    author="crashlaker",
    author_email="crashlaker@gmail.com",
    description=DESCRIPTION,
    long_description_content_type="text/markdown",
    long_description=LONG_DESCRIPTION,
    packages=find_packages(),
    install_requires=[],
    keywords=['python'],
    classifiers=[
        "Development Status :: 1 - Planning",
        "Intended Audience :: Developers",
        "Programming Language :: Python :: 3",
        "Operating System :: Unix",
        "Operating System :: MacOS :: MacOS X",
        "Operating System :: Microsoft :: Windows",
    ]
)
rm -rf dist crashlaker_t1.egg-info build
python3 setup.py sdist bdist_wheel
twine upload -u <username> -p <password> dist/*.whl