ashkang / jcal

Jalali Calendar Library
http://nongnu.org/jcal
139 stars 24 forks source link

providing proper testcases and automake directives to install python bindings system-wide #7

Closed ashkang closed 10 years ago

ashkang commented 10 years ago

At the moment, there are no proper documentations on how to use pyjalali and there are no proper mechanisms to install pyjalali system-wide using automake directives in Makefile.am. There should be a test kit and an example according to project policy, that should demonstrate basic features of the library. It should be placed alongside C code examples in test_kit directory. Perhaps, it would be better if we rename test_kit/jtime directory to something more meaningful, something like "examples".

reith commented 10 years ago

Sorry for late response, I didn't have accesss to internet. There is setup script in sources/setup.py. You can install pyjalali by python setup.py install after installing libjalali. I don't know how to do this with autotools.

There are some doctests in source code. I'll make some samples to show using pyjalali.datetime module. Other functions are just wrappers around core libjalali functions, I'll document their signatures as HTML files.