Commit 69ba18e7 authored by Devaev Maxim's avatar Devaev Maxim

Installation info and dynamic classifiers from settingsd/const.py

parent 1ea5699e
...@@ -9,11 +9,15 @@ from distutils.core import setup ...@@ -9,11 +9,15 @@ from distutils.core import setup
from distutils.command.install import install from distutils.command.install import install
from distutils import log from distutils import log
from settingsd import const
##### Private constants ##### ##### Private constants #####
packages_list = ["settingsd"] packages_list = ["settingsd"]
scripts_list = ["settingsd-server.py"] scripts_list = ["settingsd-server.py"]
#####
data_files_list = [ data_files_list = [
("/etc/dbus-1/system.d", ["configs/dbus/org.etersoft.settingsd.conf"]), ("/etc/dbus-1/system.d", ["configs/dbus/org.etersoft.settingsd.conf"]),
("/etc/rc.d/init.d", ["init/settingsd"]) ("/etc/rc.d/init.d", ["init/settingsd"])
...@@ -27,6 +31,24 @@ for maps_list_item in ( ("share/settingsd/functions", "plugins/functions"), ...@@ -27,6 +31,24 @@ for maps_list_item in ( ("share/settingsd/functions", "plugins/functions"),
for item in os.listdir(maps_list_item[1]) if not item in (".gitignore",) ] )) for item in os.listdir(maps_list_item[1]) if not item in (".gitignore",) ] ))
#####
classifiers_list = [ # http://pypi.python.org/pypi?:action=list_classifiers
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: POSIX",
"Programming Language :: Python",
"Topic :: System",
"Topic :: Utilities",
{
"alpha" : "Development Status :: 3 - Alpha",
"beta" : "Development Status :: 4 - Beta",
"stable" : "Development Status :: 5 - Production/Stable"
}[const.VERSION_STATUS]
]
##### Private classes ##### ##### Private classes #####
class SettingsdInstall(install) : class SettingsdInstall(install) :
...@@ -64,8 +86,8 @@ class SettingsdInstall(install) : ...@@ -64,8 +86,8 @@ class SettingsdInstall(install) :
##### Main ##### ##### Main #####
setup( setup(
name = "settingsd", name = const.MY_NAME,
version = "0.1", version = const.VERSION,
url = "http://etersoft.ru/", # FIXME: Add project url url = "http://etersoft.ru/", # FIXME: Add project url
license = "GPL", license = "GPL",
...@@ -82,15 +104,6 @@ setup( ...@@ -82,15 +104,6 @@ setup(
cmdclass = { "install" : SettingsdInstall }, cmdclass = { "install" : SettingsdInstall },
classifiers = [ # http://pypi.python.org/pypi?:action=list_classifiers classifiers = classifiers_list
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: POSIX",
"Programming Language :: Python",
"Topic :: System",
"Topic :: Utilities"
]
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment