diff --git a/.gitignore b/.gitignore index ba74660..e12944a 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,6 @@ docs/_build/ # PyBuilder target/ + +# PyCharm +.idea/ diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..de0a3da --- /dev/null +++ b/setup.py @@ -0,0 +1,36 @@ +#!/usr/bin/env python +import os + +from setuptools import setup + +with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: + readme = f.read() + +setup( + name='cfwatch', + version='0.1.0', + description="Automagically purges CloudFlare's cache when local files are updated.", + long_description=readme, + author='Quantum', + author_email='quantum@dmoj.ca', + url='https://github.com/quantum5/cfwatch', + keywords='cloudflare cdn cache purge', + license='MIT', + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Environment :: Web Environment', + 'Intended Audience :: System Administrators', + 'License :: OSI Approved :: MIT License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Internet :: WWW/HTTP', + 'Topic :: Internet :: WWW/HTTP :: Site Management', + ], + zip_safe=False, + + py_modules=['cfwatch'], + entry_points={ + 'console_scripts': ['cfwatch = cfwatch:main'], + }, + install_requires=['requests', 'watchdog'], +)