setup.py 406 B

1234567891011121314151617
  1. from distutils.core import setup, Extension
  2. setup(
  3. name="digit2", # 用于pip安装中指定的名字
  4. version="1.0",
  5. description="AI应用",
  6. author="L.Young",
  7. packages=[
  8. "digitapp",
  9. "digitapp.data"
  10. ], # 包路径下一定要有__init__.py
  11. package_data={
  12. "digitapp.data":["models.lenet"],
  13. },
  14. scripts=[
  15. "digit.bat",
  16. ],
  17. )