# coding = utf-8 """ Alfanous Setup Script TODO pure python building & installing system TODO include resources in installation XXX Index building pre-install script? """ import json #import glob try: from setuptools import setup #,find_packages except ImportError: from alfanous.ez_setup import use_setuptools use_setuptools() information_file = open("./resources/information.json") information = json.loads(information_file.read()) if information_file else {} current_version = information["version"] if information.has_key( "version" ) \ else 0.7 current_description = information["description"] if information.has_key( "description" ) \ else """ Alfanous is a search engine provide the simple and advanced search in the Holy Qur'an and more features..""" #TODO may add pre-install code here setup( name="alfanous", description="Quranic search engine API", version=current_version, platforms="ALL", license="AGPL",
TODO pure python building & installing system TODO include resources in installation XXX Index building pre-install script? """ import json #import glob try: from setuptools import setup#,find_packages except ImportError: from alfanous.ez_setup import use_setuptools use_setuptools() information_file = open( "./resources/information.json" ) information = json.loads( information_file.read() ) if information_file else {} current_version = information["version"] if information.has_key( "version" ) \ else 0.7 current_description = information["description"] if information.has_key( "description" ) \ else """ Alfanous is a search engine provide the simple and advanced search in the Holy Qur'an and more features..""" #TODO may add pre-install code here setup( name = "alfanous", description = "Quranic search engine API", version = current_version, platforms = "ALL", license = "AGPL",