Commit Graph

39 Commits

Author SHA1 Message Date
Berker Peksag cdea12b276 Make hy2py public. 2014-04-30 01:51:21 +03:00
Berker Peksag f53644568a Add Python 3.4 to classifiers. 2014-03-18 10:27:35 +02:00
Berker Peksag 870c136469 Add astor to install_requires.
`hy --spy` fails on hy 0.9.11.

    $ hy --spy
    hy 0.9.11
    => (type "hy")
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/hy/cmdline.py", line 68, in print_python_code
        import astor.codegen
    ImportError: No module named astor.codegen
2013-12-10 17:46:45 +02:00
Kevin Zita 8970662dcb Update requirements.txt and setup.py to use rply upstream.
Closes #364.
2013-12-08 07:11:42 +02:00
Berker Peksag 1919963eb3 Add importlib to install_requires on Python 2.6.
Fixes #319.
2013-11-10 14:55:36 +02:00
Berker Peksag 5467d2f6be Fix rply dependency.
To test this, replace the https://github.com/hylang/rply/zipball/master#egg=rply-0.6.2
url with https://github.com/berkerpeksag/rply/zipball/master#egg=rply-0.6.2
in setup.py.

$ cd hy
$ virtualenv dummy
$ . dummy/bin/activate
$ pip install .
$ pip install astor nose
$ make test
...
...
Ran 252 tests in 9.723s

OK
2013-11-04 16:12:11 +02:00
Nicolas Dandrimont 2ab35332a0 Ship the hy files in hy/contrib 2013-11-01 04:04:12 +01:00
Berker Peksag 522553ffec Various setup.py enhancements.
- PEP8 fixes
- Use setuptools.find_packages()
- Update PyPI classifiers
- Update website URL
- Install the argparse module in Python 2.6 and before
- Delete the duplicate rply in install_requires. With the PyPI
  version, tests are failed.
2013-09-20 09:08:29 +03:00
Nicolas Dandrimont 51358e0f4b Add some machinery to avoid importing hy in setup.py 2013-07-28 19:34:59 +02:00
Nicolas Dandrimont ce22e49b50 Add rply to dependencies
Use the hylang fork until mainline grows the source position patch.
2013-07-28 17:36:36 +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 3358b5581c Include hy files in the release. 2013-07-06 19:40:47 -04:00
Ralph Moritz 888dc19882 Get Hy working on Windows by making readline use conditional. 2013-07-01 22:41:56 +02:00
Paul R. Tagliamonte a46a9830ec Forgot these. 2013-03-27 22:19:57 -04:00
Paul Tagliamonte 980cd493e0 futzing with a few things 2013-03-21 19:27:34 -04:00
Paul R. Tagliamonte d1ac469a3b adding in 2.6, we added it back in to the code 2013-03-17 11:55:40 -04:00
Paul R. Tagliamonte 9cdc7d0465 Adding in classifiers. 2013-03-10 17:41:35 -04:00
Paul Tagliamonte 3028570995 fail! 2013-03-08 18:47:59 -05:00
Paul R. Tagliamonte 7a925b5ee4 futzing with ideas 2013-03-05 20:28:09 -05:00
Paul Tagliamonte 4a78498133 adding numbers 2013-03-05 18:28:27 -05:00
Paul R. Tagliamonte ef9007c229 Futzing about. 2013-03-03 16:26:17 -05:00
Paul R. Tagliamonte 95657f64bc bleh 2013-03-03 00:08:47 -05:00
Paul R. Tagliamonte b42fdc0bb7 Adding more testing. 2013-03-02 23:47:16 -05:00
Paul R. Tagliamonte dc4bb92725 Adding in some slight tweaks. 2013-03-02 21:30:37 -05:00
Paul R. Tagliamonte 159151f847 thingthings. like licensing. 2013-03-02 20:24:32 -05:00
Paul R. Tagliamonte 84453e75d2 Thinking about a refacotr. 2013-02-28 22:27:20 -05:00
Paul Tagliamonte f5836da2a5 Kill everything 2013-02-27 19:00:52 -05:00
Paul Tagliamonte 56c4091a5b I'm an idiot 2013-01-22 18:39:56 -05:00
Paul Tagliamonte a4a903d5d3 Releasing 0.8.1 2013-01-22 18:39:28 -05:00
Paul Tagliamonte 230cf88abd "releasing" pre-talk hard freeze 2013-01-22 18:38:43 -05:00
Paul Tagliamonte 7729d1c1d4 Tweaks, tweaks. 2013-01-15 20:02:10 -05:00
Paul Tagliamonte b9ced37f83 small fixes release 2012-12-31 18:48:51 -05:00
Paul Tagliamonte 32eee6d6c1 Tagging 0.7.0 2012-12-29 11:43:56 -05:00
Paul Tagliamonte 42612456a5 Adding in bits for a shell. 2012-12-18 19:24:10 -05:00
Paul Tagliamonte 4f5bc16508 hacking on stuff. 2012-12-18 09:11:42 -05:00
Paul Tagliamonte 79827d7bbe Biding my time before the morning meeting 2012-12-17 09:55:41 -05:00
Paul Tagliamonte 10b3d6c3cc Tooling around real quick from this morning 2012-12-17 09:26:24 -05:00
Paul Tagliamonte 604b05f0a2 doh :) 2012-12-15 17:43:42 -05:00
Paul Tagliamonte 925b9ec0a5 Initial import. 2012-12-15 14:48:16 -05:00