from setuptools import setup, find_packages
setup(
name=‘$PROJECT_NAME‘,
version=‘$VERSION‘,
keywords = (‘$KEYWORD1‘, ‘$KEYWORD2‘),
description=‘blah blah blah ...‘,
license=‘Free‘,
author=‘***‘,
author_email=‘***@***.com‘,
url=‘http://***************‘,
platforms = ‘any‘,
packages = find_packages(‘absolute path or relative path of src‘),
package_dir = {‘‘:‘absolute path or relative path of src‘}
)
原文地址:http://blog.csdn.net/lezardfu/article/details/44891559