summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2013-02-23 18:43:08 +0100
committerUltrabug <ultrabug@gentoo.org>2013-02-23 18:43:08 +0100
commit85a0f4e42d4a9333c34326121e01d1b8fe306b9d (patch)
treea136eb152fee0aa8f59f3600479347825fde299c /setup.py
parent3eaeaf2082d163c22a72f824641e2d1c06c4a9d8 (diff)
move to a proper setuptools installation, update the doc
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py42
1 files changed, 42 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..3524d4a
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,42 @@
+"""
+py3status
+"""
+
+import os
+from setuptools import find_packages, setup
+
+# Utility function to read the README file.
+# Used for the long_description. It's nice, because now 1) we have a top level
+# README file and 2) it's easier to type in the README file than to put a raw
+# string in below ...
+def read(fname):
+ return open(os.path.join(os.path.dirname(__file__), fname)).read()
+
+setup(
+ name='py3status',
+ version='0.1',
+ url='https://github.com/ultrabug/py3status/wiki',
+ download_url='https://github.com/ultrabug/py3status',
+ license='BSD',
+ author='Ultrabug',
+ author_email='ultrabug@ultrabug.net',
+ description='py3status is an extensible i3status wrapper written in python',
+ long_description=read('README.md'),
+ zip_safe=False,
+ platforms='any',
+ packages=find_packages(),
+ entry_points={
+ 'console_scripts': [
+ 'py3status = py3status:main',
+ ]
+ },
+ classifiers=[
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: POSIX :: Linux',
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 2.6',
+ 'Programming Language :: Python :: 2.7',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+ 'Topic :: Desktop Environment :: Window Managers :: i3wm',
+ ],
+ )