file type constants...
Bunları files.py'nin içine almak gerekir mi? Ya da bence daha iyisi constants'ı bölmek gerekir mi? Gerçi o kadar constant yok halen...
This commit is contained in:
@@ -56,6 +56,15 @@ class Constants:
|
|||||||
self.__c.build_func = "build"
|
self.__c.build_func = "build"
|
||||||
self.__c.install_func = "install"
|
self.__c.install_func = "install"
|
||||||
|
|
||||||
|
# file types
|
||||||
|
self.__c.doc = "doc"
|
||||||
|
self.__c.conf = "conf"
|
||||||
|
self.__c.header = "header"
|
||||||
|
self.__c.library = "library"
|
||||||
|
self.__c.executable = "executable"
|
||||||
|
self.__c.data = "data"
|
||||||
|
self.__c.localedata = "localedata"
|
||||||
|
|
||||||
def __getattr__(self, attr):
|
def __getattr__(self, attr):
|
||||||
return getattr(self.__c, attr)
|
return getattr(self.__c, attr)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user