from setuptools import setup
setup(name='foo',version='1.0',description='A useful module',author='Man Foo',author_email='foomail@foo.example',packages=['foo'], #same as nameinstall_requires=['wheel', 'bar', 'greek'], #external packages as dependenciesscripts=['scripts/cool','scripts/skype',])
添加更多内容到(#0)让它体面:
from setuptools import setup
with open("README", 'r') as f:long_description = f.read()
setup(name='foo',version='1.0',description='A useful module',license="MIT",long_description=long_description,author='Man Foo',author_email='foomail@foo.example',url="http://www.foopackage.example/",packages=['foo'], #same as nameinstall_requires=['wheel', 'bar', 'greek'], #external packages as dependenciesscripts=['scripts/cool','scripts/skype',])