setup.py 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import setuptools
  2. with open("README.md", 'r') as f:
  3. long_description = f.read()
  4. with open("requirements.txt", 'r') as f:
  5. install_requires = list(f.read().splitlines())
  6. setuptools.setup(
  7. name="python-backup",
  8. version_format='{tag}.{commitcount}',
  9. author="Nathaniel van Diepen",
  10. author_email="[email protected]",
  11. description="Configuration file based file backup",
  12. long_description=long_description,
  13. long_description_content_type="text/markdown",
  14. url="https://eeems.codes/Eeems/python-backup",
  15. include_package_data=True,
  16. classifiers=[
  17. "Programming Language :: Python :: 3",
  18. "Programming Language :: Python :: 3 :: Only",
  19. "License :: OSI Approved :: MIT License",
  20. "Operating System :: OS Independent",
  21. "Development Status :: 4 - Beta",
  22. "Environment :: Console",
  23. "Intended Audience :: Information Technology",
  24. "Intended Audience :: End Users/Desktop",
  25. "Natural Language :: English",
  26. "Topic :: System :: Archiving :: Backup"
  27. ],
  28. entry_points={
  29. 'console_scripts': ['backup=backup.command_line:main'],
  30. },
  31. python_requires='>=3.6.9',
  32. packages=setuptools.find_packages(),
  33. setup_requires=['setuptools-git-version'],
  34. install_requires=install_requires
  35. )