diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..db4561e --- /dev/null +++ b/.gitignore @@ -0,0 +1,54 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.cache +nosetests.xml +coverage.xml + +# Translations +*.mo +*.pot + +# Django stuff: +*.log + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ diff --git a/scholar/__init__.py b/scholar/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/scholar.py b/scholar/scholar.py similarity index 100% rename from scholar.py rename to scholar/scholar.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..0839bac --- /dev/null +++ b/setup.py @@ -0,0 +1,15 @@ +from setuptools import setup + +setup(name='scholar', + version='0.1', + description='Get Google Scholar results', + url='https://github.com/ckreibich/scholar.py', + author='Christian Kreibich', + author_email='', + license='BSD', + packages=['scholar'], + install_requires=[ + 'beautifulsoup4', + ], + scripts=['scholar/scholar.py'], + zip_safe=False) \ No newline at end of file