update setup.py and POTFILE.in to reflect changes in the package structure
[appstream:software-center.git] / app-center
1 #!/usr/bin/python
2
3 import logging
4 import os
5
6 from appcenter.app import AppCenter
7
8
9 if __name__ == "__main__":
10    #logging.basicConfig(level=logging.DEBUG)
11
12    if os.path.exists("./data"):
13       datadir = "./data"
14    else:
15       datadir = "/usr/share/app-center/"
16
17    ac = AppCenter(datadir)
18    ac.run()
19