Browse Source

Module refactoring

master3.3
Mike Khiretskiy 8 years ago
parent
commit
d1d34ccbdf
  1. 0
      pym/update/__init__.py
  2. 0
      pym/update/datavars.py
  3. 0
      pym/update/emerge_parser.py
  4. 0
      pym/update/package_tools.py
  5. 0
      pym/update/profile.py
  6. 0
      pym/update/update.py
  7. 0
      pym/update/update_info.py
  8. 0
      pym/update/utils/__init__.py
  9. 0
      pym/update/utils/cl_setup_update.py
  10. 0
      pym/update/utils/cl_update.py
  11. 0
      pym/update/utils/cl_update_profile.py
  12. 0
      pym/update/variables/__init__.py
  13. 0
      pym/update/variables/action.py
  14. 0
      pym/update/variables/update.py
  15. 0
      pym/update/wsdl_update.py
  16. 15
      setup.py

0
update/__init__.py → pym/update/__init__.py

0
update/datavars.py → pym/update/datavars.py

0
update/emerge_parser.py → pym/update/emerge_parser.py

0
update/package_tools.py → pym/update/package_tools.py

0
update/profile.py → pym/update/profile.py

0
update/update.py → pym/update/update.py

0
update/update_info.py → pym/update/update_info.py

0
update/utils/__init__.py → pym/update/utils/__init__.py

0
update/utils/cl_setup_update.py → pym/update/utils/cl_setup_update.py

0
update/utils/cl_update.py → pym/update/utils/cl_update.py

0
update/utils/cl_update_profile.py → pym/update/utils/cl_update_profile.py

0
update/variables/__init__.py → pym/update/variables/__init__.py

0
update/variables/action.py → pym/update/variables/action.py

0
update/variables/update.py → pym/update/variables/update.py

0
update/wsdl_update.py → pym/update/wsdl_update.py

15
setup.py

@ -18,13 +18,21 @@
# limitations under the License.
__app__ = "calculate-update"
__version__ = "3.1.8"
__version__ = "3.2.2"
import os
from glob import glob
from distutils.core import setup
from calculate.install_data import install_data
data_files = [('/usr/libexec/calculate', [('data/cl-git-wrapper', 0755)])]
packages = [
"calculate."+str('.'.join(root.split(os.sep)[1:]))
for root, dirs, files in os.walk('pym/update')
if '__init__.py' in files
]
setup(
name=__app__,
version=__version__,
@ -33,8 +41,7 @@ setup(
author_email="support@calculate.ru",
url="http://calculate-linux.org",
license="http://www.apache.org/licenses/LICENSE-2.0",
package_dir={'calculate.update': "update"},
package_dir = {'calculate.update': "pym/update"},
packages = packages,
data_files=data_files,
packages=['calculate.update', 'calculate.update.utils',
'calculate.update.variables'],
cmdclass={'install_data': install_data})

Loading…
Cancel
Save