Skip to content

Commit

Permalink
Merge pull request #2 from samuelfekete/add_setup_file
Browse files Browse the repository at this point in the history
Add setup file
  • Loading branch information
samuelfekete committed Apr 9, 2017
2 parents 974be46 + 5618846 commit a391f80
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
21 changes: 21 additions & 0 deletions README.rst
@@ -0,0 +1,21 @@
Pythonometer
============

*A tool for measuring and improving Python skills*

What is Pythonometer?
---------------------

Pythonometer is tool for measuring how good someone is at Python.

The goal of this project is to have a comprehensive set of code
questions covering all areas of Python, so that a Pythonometer score
will accurately represent how good someone is at python, and that anyone
practicing for the sake of getting a good score will actually become
very good at coding in Python.

Status
------

This project is currently at prototype stage, with just a small number
of questions.
7 changes: 5 additions & 2 deletions native_app.py
Expand Up @@ -144,9 +144,12 @@ def change_text(self, widget, text):
widget.configure(state='disabled')



if __name__ == "__main__":
def main():
root = Tkinter.Tk()
tk_app = TkApp(root)
root.mainloop()
print(tk_app.quiz.get_results())


if __name__ == "__main__":
main()
21 changes: 21 additions & 0 deletions setup.py
@@ -0,0 +1,21 @@

from setuptools import setup, find_packages

with open('README.rst') as file:
long_description = file.read()

setup(
name='Pythonometer',
version='0.1.1',
description='A tool for measuring and improving Python skills',
long_description=long_description,
url='https://github.com/samuelfekete/Pythonometer',
author='Samuel Fekete',
packages=find_packages(),
scripts=['native_app.py'],
entry_points={
'console_scripts': [
'pythonometer=native_app:main'
]
}
)

0 comments on commit a391f80

Please sign in to comment.