Browse Source

Including version.txt in the installed files so that supervisorctl works when easy_installed from tarball

Roger Hoover 13 năm trước cách đây
mục cha
commit
1b1091624c
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      setup.py

+ 3 - 0
setup.py

@@ -72,6 +72,9 @@ dist = setup(
     extras_require = {'iterparse':['cElementTree >= 1.0.2']},
     tests_require = requires + ['mock >= 0.5.0'],
     include_package_data = True,
+    data_files = [
+        ('supervisor', ['supervisor/version.txt'])
+    ],
     zip_safe = False,
     namespace_packages = ['supervisor'],
     test_suite = "supervisor.tests",