问题描述
我需要在我的 python 文件中添加几个文件来发布这是因为我正在从该文件中读取文本。有没有办法做到这一点? 这是我的 setup.py
# reading long description from file
with open('DESCRIPTION.txt') as file:
long_description = file.read()
# specify requirements of your package here
REQUIREMENTS = ['']
# some more details
CLASSIFIERS = [
'Intended Audience :: Developers','License :: OSI Approved :: MIT License',"Programming Language :: Python :: 3",]
# calling the setup function
setup(name='create-flask-project-cli',version='1.0.0',description='Create flask project with html and css ready using cli.',long_description=long_description,url='https://github.com/logan0501/create-flask-project-cli.git',author='Loganathan',author_email='logan05012001@gmail.com',license='MIT',packages=['flaskcli'],classifiers=CLASSIFIERS,install_requires=REQUIREMENTS,keywords='flaskapp cli html css flaskcli',entry_points ={
'console_scripts': [
'flaskcli = flaskcli.main:main'
]
},)```
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)