From cb72dd077908138c41cd1c5fbae09a541f88f708 Mon Sep 17 00:00:00 2001 From: chrys Date: Thu, 25 May 2017 13:43:43 +0200 Subject: [PATCH] make setup.py initial work --- setup.py | 48 +++++++++++++++++++++++++++++++++++++ src/fenrir/fenrirVersion.py | 11 +++++++++ 2 files changed, 59 insertions(+) create mode 100755 setup.py create mode 100644 src/fenrir/fenrirVersion.py diff --git a/setup.py b/setup.py new file mode 100755 index 00000000..d36f4213 --- /dev/null +++ b/setup.py @@ -0,0 +1,48 @@ +#!/bin/python +import os +from setuptools import find_packages +from setuptools import setup +def read(fname): + return open(os.path.join(os.path.dirname(__file__), fname)).read() + + + +setup( + # Application name: + name="fenrir", + # Version number (initial): + version="0.1a", + + # Application author details: + author="Chrys and others", + author_email="chrys87@web.de", + + # Packages + packages=find_packages('src/fenrir'), + package_dir={'': 'src/fenrir'}, + scripts=['src/fenrir/fenrir','src/fenrir/fenrir-daemon'], + #entry_points = { + # "console_scripts": ['fenrir = fenrir:main'] + # }, + + # Include additional files into the package + include_package_data=True, + + # Details + url="https://github.com/chrys87/fenrir/", + zip_safe=False, + # + # license="MIT", + description="An TTY Screen Reader For Linux.", + long_description=read('README.md'), + classifiers=[ + "Development Status :: 3 - Alpha", +], + # Dependent packages (distributions) + install_requires=[ + "evdev", + "sox" + ], + +) + diff --git a/src/fenrir/fenrirVersion.py b/src/fenrir/fenrirVersion.py new file mode 100644 index 00000000..f070cefd --- /dev/null +++ b/src/fenrir/fenrirVersion.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +# Fenrir TTY screen reader +# By Chrys, Storm Dragon, and contributers. + +import os, sys +import __main__ + +version = 1.5 +codename = 'gampert'