from setuptools.command.develop import develop
from multiprocessing import cpu_count
from direct.dist.commands import bdist_apps
-from ya2.build.build import branch, files, ver, files, bld_dpath
+from ya2.build.build import _branch, files, _ver, files
#from ya2.build.docs import bld_docs
from ya2.build.models import ModelsBuilder
from ya2.build.images import bld_images
system(cmd)
bdist_apps.run(self)
if not self.nolinux:
- hbranch = {'master': 'alpha', 'rc': 'rc', 'stable': ''}[branch]
+ hbranch = {'master': 'alpha', 'rc': 'rc', 'stable': ''}[_branch()]
AppImageBuilder(self).build(longname, hbranch,
'https://www.ya2.it/downloads/')
- fbranch = {'master': 'alpha', 'rc': 'rc', 'stable': 'stable'}[branch]
+ fbranch = {'master': 'alpha', 'rc': 'rc', 'stable': 'stable'}[_branch()]
# bld = FlatpakBuilder(
# self,
# 'it.ya2.Pmachines',