Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Réorganisation complète des fichiers
- Loading branch information
Noethys
committed
May 12, 2016
1 parent
245b84c
commit 2aefc4e
Showing
2,062 changed files
with
8,880 additions
and
7,925 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
recursive-include noethys/Static * | ||
include noethys/*.txt | ||
include noethys/*.ico |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: iso-8859-15 -*- | ||
#------------------------------------------------------------------------ | ||
# Application : Noethys, gestion multi-activités | ||
# Site internet : www.noethys.com | ||
# Auteur: Ivan LUCAS | ||
# Copyright: (c) 2010-16 Ivan LUCAS | ||
# Licence: Licence GNU GPL | ||
#------------------------------------------------------------------------ | ||
|
||
import os, sys | ||
|
||
frozen = getattr(sys, 'frozen', '') | ||
if not frozen: | ||
REP_COURANT = os.path.dirname(os.path.abspath(__file__)) | ||
else : | ||
REP_COURANT = os.path.dirname(sys.executable) | ||
|
||
if REP_COURANT not in sys.path : | ||
sys.path.insert(1, REP_COURANT) | ||
|
||
for rep in os.listdir(REP_COURANT) : | ||
chemin = os.path.join(REP_COURANT, rep) | ||
if os.path.isdir(chemin) and chemin not in sys.path : | ||
sys.path.insert(2, chemin) | ||
|
||
def GetStaticPath(fichier=""): | ||
""" Retourne le chemin du répertoire Static """ | ||
chemin = os.path.join(REP_COURANT, "Static") | ||
return os.path.join(chemin, fichier) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.