cmheisel / pywatch

Runs an arbitrary command if files specified to be watched change. It's good for automatically running unit tests when your code changes, similar to Ruby's ZenTest.

This URL has Read+Write access

pywatch / setup.py
100644 36 lines (27 sloc) 0.956 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import os
from setuptools import setup, find_packages
 
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
 
setup(
    name = "pywatch",
    version = "0.4",
    url = 'http://heisel.org/blog/code/pywatch/',
    license = 'MIT',
    description = "Runs arbitrary commands if files specified to be watched change.",
    long_description = read('README'),
 
    author = 'Chris Heisel',
    author_email = 'chris@heisel.org',
 
    packages = find_packages('src'),
    package_dir = {'': 'src'},
 
    install_requires = ['setuptools'],
 
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
 
    scripts=['scripts/pywatch'],
)