Skip to content

Commit

Permalink
a basic project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
CtheSky committed Jul 16, 2019
0 parents commit 3889551
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[bumpversion]
current_version = 0.0.1
commit = True
tag = True

[bumpversion:file:setup.cfg]

15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Folder view configuration files
.DS_Store

# Thumbnail cache files
Thumbs.db

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Distribution / packaging
build/
dist/
*.egg-info/
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) [2018] Tianhong Chu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions gtui/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"""Simple Job Scheduler With Friendly Text User Interface"""
__version__ = '0.0.0'
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
urwid==2.0.1
werkzeug>=0.13
33 changes: 33 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[metadata]
name = gtui
version = 0.0.1
author = Tianhong Chu
author-email = [email protected]
home-page = https://github.com/CtheSky/gtui
description = Simple Job Scheduler with Friendly Text User Interface
long_description = file: README.rst
platforms = any
keywords = TUI, Command Line Tool, Scheduler
license_file = LICENSE
classifiers =
Operating System :: OS Independent
Intended Audience :: Customer Service
Intended Audience :: Developers
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7


[files]
packages = gtui

[options]
zip_safe = True
python_requires = >= 2.7, != 3.0.*, != 3.1.*, != 3.2.*, != 3.3.*, != 3.4.*

[bdist_wheel]
universal = true
12 changes: 12 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import os
from setuptools import setup, find_packages

# read requirement.txt
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'requirements.txt')) as f:
requirements = [_.strip() for _ in f.readlines() if not _.startswith('#')]

setup(
install_requires=requirements,
packages=find_packages()
)

0 comments on commit 3889551

Please sign in to comment.