setup.py 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/usr/bin/env python3
  2. import pathlib
  3. from setuptools import setup
  4. import hyfetch
  5. # The directory containing this file
  6. HERE = pathlib.Path(__file__).parent
  7. # The text of the README file
  8. README = (HERE / "README.md").read_text()
  9. # This call to setup() does all the work
  10. setup(
  11. name="HyFetch",
  12. version=hyfetch.__version__,
  13. description="neofetch with flags <3",
  14. long_description=README,
  15. long_description_content_type="text/markdown",
  16. url="https://github.com/hykilpikonna/HyFetch",
  17. author="Azalea Gui",
  18. author_email="me@hydev.org",
  19. license="MIT",
  20. classifiers=[
  21. "License :: OSI Approved :: MIT License",
  22. "Programming Language :: Python :: 3",
  23. "Programming Language :: Python :: 3.7",
  24. "Programming Language :: Python :: 3.8",
  25. "Programming Language :: Python :: 3.9",
  26. "Programming Language :: Python :: 3.10",
  27. ],
  28. packages=['hyfetch'],
  29. package_data={'hyfetch': ['hyfetch/*']},
  30. include_package_data=True,
  31. install_requires=[
  32. # Universal dependencies
  33. 'setuptools', 'typing_extensions'
  34. # Windows dependencies
  35. 'psutil ; platform_system=="Windows"'
  36. ],
  37. entry_points={
  38. "console_scripts": [
  39. "hyfetch=hyfetch.main:run",
  40. ]
  41. },
  42. scripts=['hyfetch/scripts/neowofetch']
  43. )