Commit Graph

11 Commits

Author SHA1 Message Date
Kodi Arfer
d3fa375052 Migrate from Nose to pytest 2017-04-26 14:00:11 -07:00
Kodi Arfer
397fa80380 Revert "Modernized." (#1085) (#1188)
This reverts commit 13b484ce46 and fixes #1183.
2016-12-27 09:09:58 -06:00
Elf M. Sternberg
13b484ce46 Modernized. 2016-12-20 10:54:11 +02:00
Kodi Arfer
23c457cee5 Generate hy.version using git describe 2016-10-12 17:11:44 -07:00
Gergely Nagy
2665b316cf
.gitignore: Ignore .noseids too
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2015-08-10 10:31:45 +02: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
3571ac0118 adding build to gitignore 2013-03-06 19:51:10 -05:00
Paul Tagliamonte
395943ca53 some hacking 2012-12-22 00:18:37 -05:00
Paul Tagliamonte
4f5bc16508 hacking on stuff. 2012-12-18 09:11:42 -05:00
Paul Tagliamonte
8fff6eae4f fixing the ignore 2012-12-15 17:43:52 -05:00
Paul Tagliamonte
925b9ec0a5 Initial import. 2012-12-15 14:48:16 -05:00