44 | | setup(name = "pykoticon", version = version, |
45 | | license = "GNU GPL", |
46 | | description = "an end-user companion for PyKota", |
47 | | author = "Jerome Alet", |
48 | | author_email = "alet@librelogiciel.com", |
49 | | url = "http://www.librelogiciel.com/software/", |
50 | | windows=[os.path.join("bin", "pykoticon")], |
51 | | #scripts=[os.path.join("bin", "pykoticon")], |
52 | | data_files=[(directory, glob.glob(os.path.join("icons", "*.ico")))]) |
| 44 | setupDictionary = { "name" : "pykoticon", |
| 45 | "version" : version, |
| 46 | "license" : "GNU GPL", |
| 47 | "description" : "a generic, networked, cross-platform, dialog box manager", |
| 48 | "author" : "Jerome Alet", |
| 49 | "author_email" : "alet@librelogiciel.com", |
| 50 | "url" : "http://www.librelogiciel.com/software/", |
| 51 | "data_files" : [(directory, glob.glob(os.path.join("icons", "*.ico")))], |
| 52 | } |
| 53 | if withPy2EXE : |
| 54 | setupDictionary["windows"] = [os.path.join("bin", "pykoticon")] |
| 55 | else : |
| 56 | setupDictionary["scripts"] = [os.path.join("bin", "pykoticon")] |
| 57 | |
| 58 | setup(**setupDictionary) |