setup.py 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. from distutils.core import setup, Extension
  2. pyBlockInfo = Extension(
  3. "pyblockinfo",
  4. libraries = ["blkid", "fdisk"],
  5. sources = ["pyblockinfo/pyblockinfo-module.c"])
  6. # https://docs.python.org/3/distutils/setupscript.html
  7. setup(name='wiizard',
  8. version='0.1-alpha1',
  9. license='GPL3',
  10. description=('Wii game manager'),
  11. author='CYBERDEViL',
  12. url='https://notabug.org/cyberdevil',
  13. packages=[
  14. 'wiizard',
  15. 'wiizard.widgets',
  16. 'wiizard.models',
  17. 'wiizard.views',
  18. 'wiizard.scrapers'
  19. ],
  20. # https://pypi.org/classifiers/
  21. classifiers=[
  22. 'Development Status :: 3 - Alpha',
  23. 'Environment :: X11 Applications :: Qt',
  24. 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
  25. 'Topic :: Games/Entertainment'
  26. ],
  27. scripts=[
  28. 'bin/wiizard'
  29. ],
  30. data_files=[
  31. ('share/applications' , ['share/Wiizard.desktop']),
  32. ('share/icons/wiizard', ['wiizard/images/wiizard_icon_16.png',
  33. 'wiizard/images/wiizard_icon_32.png',
  34. 'wiizard/images/wiizard_icon_64.png']),
  35. ('share/wiizard/' , ['wiizard/images/wiizard_logo.png',
  36. 'wiizard/images/default_2d_cover.png',
  37. 'wiizard/images/default_3d_cover.png',
  38. 'wiizard/images/default_disc_cover.png'])
  39. ],
  40. ext_modules = [pyBlockInfo]
  41. )