diff --git a/README.md b/README.md index d1413ea..bedb993 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,50 @@ # driver27 -Racing competition manager in Django +Racing competition manager in Django where you can manage different +motor competitions with its own punctuation rules, races, drivers, teams +which, at the same time, can be part of multiple competitions. + +Versions +======== +- 0.14-ALO (Fernando Alonso 14) +- 0.27-VIL (Gilles Villeneuve 27) + +0.14 +==== +- Initial models +- Basic relation restriction with exceptions and tests +- Basic templates to frontend views +- Basic demo to test the app + +models +=========== +- Driver +- Team +- Circuit +- Grand Prix +- Competition +- Season +- Race +- Result +- Contender (Driver/Competition relation) +- Seat (Contender/Team relation) +- fixtures folder contains fixture of each model to demo project. + +Demo +==== +```bash +$ git clone https://github.com/SRJ9/django-driver27 +$ cd django-driver27 # or name of destiny folder +$ python demo/manage.py runserver +``` + +Todo +==== +- [ ] Add records by season, driver, team, competition +- [ ] Add drivers profile with records, last_wins, teams... +- [ ] Add easy clone to Season +- [ ] Translate +- [ ] 1980's punctuation. Only 11 best results. +- [ ] Old punctuation. Split season races, and get only 4 of each half. # History Driver 27 is a reference to car number of Gilles Villeneuve, F1 Driver died in 1982. Gilles is considered one of best driver despite he never won the World Championship, something that Jacques Villeneuve, his son, did in 1998. diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..393a152 --- /dev/null +++ b/setup.py @@ -0,0 +1,21 @@ +from setuptools import setup + +with open('requirements.txt') as f: + requirements = f.read().splitlines() + +readme = open('README.md', 'r') +README_TEXT = readme.read() +readme.close() + +setup( + name='driver27', + version='0.14-ALO', + packages=['driver27', 'driver27.tests', 'driver27.migrations'], + url='https://github.com/SRJ9/django-driver27.git', + license='MIT', + author='Jose ER', + author_email='srj9es@gmail.com', + description='Racing competition manager based on Django', + install_requires=requirements, + long_description = README_TEXT, +) diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..11ef32d --- /dev/null +++ b/tox.ini @@ -0,0 +1,24 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = py{27,py}-d{17,18,19,110,dev} + py{33,34}-d{17,18,dev} + py{35}-d{18,19,110,dev} + +[testenv] +setenv = + DJANGO_SETTINGS_MODULE = demo.dr27_demo.settings + +commands = + py.test + +deps = + pytest + -rrequirements.txt + d17: django>=1.7,<1.8 + d18: django>=1.8,<1.9 + d19: django>=1.9,<1.10 + d110: django>=1.10,<1.11