Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
settingsd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
settingsd
Commits
69ba18e7
Commit
69ba18e7
authored
Nov 15, 2010
by
Devaev Maxim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Installation info and dynamic classifiers from settingsd/const.py
parent
1ea5699e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
12 deletions
+25
-12
setup.py
setup.py
+25
-12
No files found.
setup.py
View file @
69ba18e7
...
@@ -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"
]
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment