Skip to content

Commit

Permalink
Uploaded the stupid thing to PyPI, finally.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbwinslow committed Oct 28, 2016
1 parent b7539c9 commit 8344b6a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ HQuery is 99% compliant with the [XPath 1.0](https://www.w3.org/TR/xpath/) stand
## Installing `hq`

pip install hq

*Needle scratch sound...* Oh, wait! I haven't actually released 0.0.1 yet! So it's not uploaded. You'll have to clone the repo and run the `hq_runner.py` script in place of `hq` until a release is up.

## Running `hq`

Expand Down
2 changes: 1 addition & 1 deletion hq/hq.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from .soup_util import make_soup
from .verbosity import verbose_print, set_verbosity

__version__ = '0.0.1'
__version__ = '0.0.2'


def main():
Expand Down
11 changes: 8 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import re
from setuptools import setup, find_packages

version = re.search("^__version__\s*=\s*'(.*)'", open('hq/hq.py').read(), re.M).group(1)


with open('README.md', 'rb') as f:
long_description = f.read().decode('utf-8')
long_description = 'Powerful HTML slicing and dicing at the command line.'
if os.path.exists('README.md'):
with open('README.md', 'rb') as f:
long_description = f.read().decode('utf-8')


classifiers = [
'Development Status :: 2 - Pre-Alpha',
Expand All @@ -19,6 +23,7 @@
'Topic :: Text Processing :: Markup :: HTML',
]


setup(name='hq',
packages=find_packages(exclude=['test']),
entry_points={'console_scripts': ['hq = hq.hq:main']},
Expand All @@ -31,4 +36,4 @@
url='https://github.com/rbwinslow/hq',
keywords='html xpath query xquery hquery jq cmdline cli',
classifiers=classifiers,
install_requires=['beautifulsoup4', 'docopt'])
install_requires=['beautifulsoup4', 'docopt', 'enum34', 'future', 'wheel'])

0 comments on commit 8344b6a

Please sign in to comment.