打包部署

Reads: 1199 Edit

setup.py

from setuptools import find_packages, setup


with open("README.md", "r") as fh:
    long_description = fh.read()

setup(
    name='bmo-lre',
    version='0.0.1',
    packages=find_packages(),
    description='BMO Application Monitoring Service',
    long_description=long_description,
    long_description_content_type="text/markdown",
    classifiers=[
        'Programming Language :: Python :: 3',
        'Operating System :: OS Independent',
    ],
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'flask',
        'SQLAlchemy>=1.3.20'
    ],
    python_requires='>=3.6',
)

python setup.py sdist bdist_wheel


Comments

Make a comment

www.ultrapower.com ,王硕的博客,专注于研究互联网产品和技术,提供中文精品教程。 本网站与其它任何公司及/或商标无任何形式关联或合作。