setup.py 935 B

12345678910111213141516171819202122232425262728293031
  1. #!/usr/bin/python
  2. from setuptools import setup, find_packages
  3. import time, subprocess
  4. DESCRIPTION = "KCG KAPTURE Control Gui"
  5. git_count = subprocess.check_output(["git", "rev-list", "--count", "HEAD"]).strip()
  6. version_time = time.strftime("%d%m%y")
  7. VERSION = "0.3.2."+git_count+"."+version_time+"-beta"
  8. with open("KCG/VERSION", 'w') as vfile:
  9. vfile.write(VERSION)
  10. setup(
  11. name='KCG',
  12. # version='0.3.2.197.0704-beta',
  13. version=VERSION,
  14. author='Patrick Schreiber, Matthias Martin',
  15. author_email='uldfk@student.kit.edu, uadse@student.kit.edu',
  16. # license='GPL',
  17. description=DESCRIPTION,
  18. long_description=DESCRIPTION,
  19. packages=find_packages(),
  20. install_requires=['numpy',
  21. 'python-qt',
  22. 'pyqtgraph'],
  23. zip_safe = False,
  24. include_package_data = True,
  25. entry_points = {
  26. 'console_scripts': [
  27. 'kcg = KCG.kcg:run'
  28. ],
  29. },
  30. )