aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorSARL ENR-68 <david@david.david>2014-09-08 22:12:23 +0200
committerSARL ENR-68 <david@david.david>2014-09-08 22:12:23 +0200
commit91f5e36949b12d98b62e916657aafbd547973ff5 (patch)
tree8702a0543a6200567825cd2a5c5d6c8ca9150307 /setup.py
parent1282fb3fc4fcda3a9bea78802b5c2bff3385fe6c (diff)
downloadMageiaSync-91f5e36949b12d98b62e916657aafbd547973ff5.tar
MageiaSync-91f5e36949b12d98b62e916657aafbd547973ff5.tar.gz
MageiaSync-91f5e36949b12d98b62e916657aafbd547973ff5.tar.bz2
MageiaSync-91f5e36949b12d98b62e916657aafbd547973ff5.tar.xz
MageiaSync-91f5e36949b12d98b62e916657aafbd547973ff5.zip
initial commit from david.david
- add a spec file - add translations tools - add a setup.py file for build and install - add a desktop file and a desktop file in - add an empty README.rst - add a po folder for future translation files - replace lib folder by mageiasync folder
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py48
1 files changed, 48 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..b9a29f1
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,48 @@
+#!/usr/bin/env python
+
+from os import environ
+from os.path import abspath, dirname, join
+from setuptools import setup
+from sys import path as sys_path
+
+install_requires = [#"QtCore",
+ #"QtWidgets",
+ #"QtGui"
+ ]
+
+data_files = [("share/applications/", ["share/applications/mageiasync.desktop"]),
+ ("share/icons/hicolor/scalable/apps", ["share/icons/mageiasync.svg"])
+ ]
+
+srcdir = join(dirname(abspath(__file__)), "mageiasync/")
+sys_path.insert(0, srcdir)
+
+def readme():
+ with open("README.rst") as f:
+ return f.read()
+
+setup(name="mageiasync",
+ version="0.1",
+ description="A frontend to rsync for Mageia usage",
+ long_description=readme(),
+ author="Papoteur",
+ author_email="papoteur@mageialinux-online.org",
+ url="https://github.com/papoteur-mga/mageiaSync",
+ license="GPLv3",
+ platforms=["Linux"],
+# keywords=['encoding', 'i18n', 'xml'],
+ classifiers=["Development Status :: 5 - Production/Stable",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: GNU GENERAL PUBLIC LICENSE Version 3 (GPLv3)",
+ "Operating System :: OS Independent",
+ "Programming Language :: Python :: 2.6",
+ "Programming Language :: Python :: 2.7",
+ "Programming Language :: Python :: 3.3",
+ "Programming Language :: Python :: 3.4",
+ "Topic :: Software Development :: Libraries :: Python Modules"],
+ install_requires=install_requires,
+ data_files=data_files,
+ packages=["mageiasync"],
+ py_modules=["mageiasync.mageiasync"],
+ entry_points={"console_scripts": ["mageiasync=mageiasync.mageiasync:main"]}
+ )