pip installable!

This commit is contained in:
Daniel Schep 2016-11-29 20:37:05 -05:00
parent 1f06c91fa1
commit 47b2764a9f
2 changed files with 50 additions and 0 deletions

View File

@ -70,6 +70,11 @@ list of what exactly will be installed.
We appreciate packaging scripts for other distributions, please file a pull
request if you write one.
On any distribution with `pip` installed you can install it with:
```
sudo pip install -e git+http://github.com/phillipberndt/autorandr#egg=autorandr
```
## How to use
Save your current display configuration and setup with:

45
setup.py Normal file
View File

@ -0,0 +1,45 @@
from setuptools import setup
long_description = open('README.md').read()
setup(
name='autorandr',
#version='', # FIXME
description='Automatically select a display configuration based on connected devices',
long_description=long_description,
url='https://github.com/phillipberndt/autorandr',
author='Phillip Berndt',
license='GPLv3',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='xrandr',
py_modules=['autorandr'],
entry_points={
'console_scripts': [
'autorandr = autorandr:exception_handled_main',
],
},
)