setup.py 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #!/usr/bin/env python
  2. from setuptools import setup, find_packages
  3. from glob import glob
  4. import os
  5. from byrd import main
  6. long_description = '''
  7. Byrd is yet another deployment tool. Byrd is a mashup of Paramiko
  8. (https://www.paramiko.org/) and the sup config file layout
  9. (https://github.com/pressly/sup).
  10. The name Byrd is a reference to Donald Byrd.
  11. '''
  12. description = ('Simple deployment tool based on Paramiko')
  13. basedir, _ = os.path.split(__file__)
  14. pkg_yaml = glob(os.path.join('pkg', '*yaml'))
  15. setup(name='Byrd',
  16. version=main.__version__,
  17. description=description,
  18. long_description=long_description,
  19. author='Bertrand Chenal',
  20. author_email='bertrand@adimian.com',
  21. url='https://bitbucket.org/bertrandchenal/byrd',
  22. license='MIT',
  23. py_modules=['byrd'],
  24. entry_points={
  25. 'console_scripts': [
  26. 'bd = byrd.main:main',
  27. ],
  28. },
  29. packages=['byrd'],
  30. package_data={'byrd': ['pkg/*yaml']},
  31. install_requires=[
  32. 'paramiko',
  33. 'pyyaml',
  34. 'keyring',
  35. ],
  36. )