Commit Graph

19 Commits

Author SHA1 Message Date
Berker Peksag
e57047289a Cleanup requirements, .travis.yml and tox.ini. 2014-04-20 00:46:26 +03:00
Abhishek L
ba3ba37665 Adding support for coverage tests at coveralls
This commit adds support for coverage tests at coveralls.io,
using coverage plugin from nosetests
2013-12-03 01:58:35 +05:30
Berker Peksag
3cbef507e7 PyPI is now behind a CDN. The --use-mirrors option is deprecated.
See PEP 449 and https://mail.python.org/pipermail/distutils-sig/2013-May/020848.html
for more information.
2013-11-11 03:08:48 +02:00
Bob Tolbert
fdb2385223 Add flake8 to Travis-CI to prevent these from coming back
Added new travis make target to skip flake8 on pypy but run it on all others
2013-08-24 11:14:29 -06:00
Bob Tolbert
df7bb1d29a Provide bin scripts for both Windows and *nix
Summary: This update does away with the scripts in bin and changes
setup.py to use entry_points in cmdline.py for the scripts 'hy' and
'hyc'.

This fixes installing and running on Windows.

The tests are updated to run the 'hy' script produced by setup.py
and not from bin/hy. This is more correct and makes the tox tests
run on both Window and *nix.

For running hy or nosetests directly in the source tree, you do have
to run 'python setup.py develop' first. But since tox runs and builds
dists, all tox tests pass on all platforms.

Also, since there is no built-in readline on Windows, the setup.py
only on Windows requires 'pyreadline' as a replacement.

Switched from optparse to argparse in cmdline.py

Instead of trying to manually separate args meant for
hy from args meant for a hy script, this switches from
optparse to argparse for the CLI.

argparse automatically peels out args meant for hy and leaves
the rest, including the user hy script in options.args.

This fixes the issue @paultag found running "hy foo" where
foo is not a real file. Also added a test that makes sure
trying to run a non-existent script exits instead of dropping
the user into the REPL.

Added argparse as setup.py resource (and removed from tox.ini) as well as removed uses of deprecated setf
2013-07-14 09:06:42 -06:00
Paul Tagliamonte
86af7eacf1 Add in a new core language file.
This will let us implement common functions seen in other lisps,
 and allow them to be importable, without explicit imports. The goal
 is to keep this as small as we can; we don't want too much magic.

 I've added `take' and `drop' as examples of what we can do.
2013-06-29 18:51:11 -04:00
Julien Danjou
a823aca0c8 Run unit tests against hy2py
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-08 14:39:38 +02:00
Nicolas Dandrimont
45db4a8d0f Use unittest2 in travis for py2.6 2013-05-05 20:42:48 +02:00
Julien Danjou
17c8ecd332 Run setup.py install before running tests
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-20 22:39:58 +02:00
Paul R. Tagliamonte
b361a230cb Why is the blacklist not working? 2013-04-10 22:00:51 -04:00
Paul R. Tagliamonte
1adf64839a Updating travis; exceptions. 2013-04-10 21:44:23 -04:00
Paul Tagliamonte
e8b423011d Update channels to include #hy on freenode 2013-04-01 09:21:12 -04:00
Paul R. Tagliamonte
a238ac53c3 Adding back Python 2.6. 2013-03-13 20:02:16 -04:00
Paul R. Tagliamonte
0228bd5539 travis docs ... 2013-03-09 17:30:07 -05:00
Paul R. Tagliamonte
a480f16e45 don't skip join 2013-03-09 17:28:57 -05:00
Paul R. Tagliamonte
a1d0de439d update travis thinger. 2013-03-09 17:25:48 -05:00
Paul R. Tagliamonte
e9d22982af Update deps. Frownyface. 2013-03-09 15:23:00 -05:00
Paul R. Tagliamonte
f51c0eee12 adding my email 2013-03-06 21:12:18 -05:00
Paul Tagliamonte
442267a146 add travis ci 2013-03-06 19:23:53 -05:00