Skip to content

Commit

Permalink
Version 0.1
Browse files Browse the repository at this point in the history
Converted to python package and reorganized repo. resolves mubaris#33
  • Loading branch information
mubaris authored Oct 19, 2017
2 parents d966564 + 74837d0 commit 24d4701
Show file tree
Hide file tree
Showing 27 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions motivate/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from motivate import quote
Binary file added motivate/__init__.pyc
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions motivate.py → motivate/motivate.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def getlink(file):
return path


def main():
def quote():
abspath = getlink(__file__)
data_dir = os.path.join(abspath, 'data')
try:
Expand All @@ -42,4 +42,4 @@ def main():


if __name__ == "__main__":
main()
quote()
Binary file added motivate/motivate.pyc
Binary file not shown.
File renamed without changes.
13 changes: 13 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from setuptools import setup

setup(
name='motivate',
version='0.1',
description='A simple script to print random motivational quotes.',
url='https://github.com/mubaris/motivate',
author='mubaris',
author_email='[email protected]',
license='MIT',
packages=['motivate'],
zip_safe=False
)

0 comments on commit 24d4701

Please sign in to comment.