No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

45 líneas
1.4 KiB

  1. #!/usr/bin/env python2
  2. # -*- coding: utf-8 -*-
  3. # setup.py --- Setup script for calculate-server
  4. # Copyright 2016 Mir Calculate. http://www.calculate-linux.org
  5. #
  6. # Licensed under the Apache License, Version 2.0 (the "License");
  7. # you may not use this file except in compliance with the License.
  8. # You may obtain a copy of the License at
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. # Unless required by applicable law or agreed to in writing, software
  13. # distributed under the License is distributed on an "AS IS" BASIS,
  14. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. # See the License for the specific language governing permissions and
  16. # limitations under the License.
  17. __app__ = "calculate-server"
  18. __version__ = "3.5.0_alpha1"
  19. import os
  20. from glob import glob
  21. from distutils.core import setup
  22. from distutils.command import install_data as module_install_data
  23. from distutils.util import change_root, convert_path
  24. packages = [
  25. "calculate."+str('.'.join(root.split(os.sep)[1:]))
  26. for root, dirs, files in os.walk('pym/server')
  27. if '__init__.py' in files
  28. ]
  29. setup(
  30. name=__app__,
  31. version=__version__,
  32. description="LDAP service for Calculate utilities",
  33. author="Calculate Ltd.",
  34. author_email="support@calculate.ru",
  35. url="http://calculate-linux.org",
  36. license="http://www.apache.org/licenses/LICENSE-2.0",
  37. package_dir = {'calculate.server': "pym/server"},
  38. packages = packages)