diff options
-rw-r--r-- | .gitignore | 4 | ||||
-rwxr-xr-x | bin/screenplain | 3 | ||||
-rwxr-xr-x | setup.py | 23 |
3 files changed, 27 insertions, 3 deletions
@@ -1,2 +1,6 @@ *.pyc *.pyo + +# Generated by setuptools +MANIFEST +dist/ diff --git a/bin/screenplain b/bin/screenplain index ad6a673..e28cb73 100755 --- a/bin/screenplain +++ b/bin/screenplain @@ -1,9 +1,6 @@ #!/usr/bin/env python import sys -from os.path import dirname, join, abspath, pardir if __name__ == '__main__': - p = abspath(join(dirname(__file__), pardir)) - sys.path.append(p) from screenplain.main import main main(sys.argv[1:]) diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..8261a7f --- /dev/null +++ b/setup.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python + +from distutils.core import setup + +setup( + name='screenplain', + version='0.2', + description='Convert text file to viewable screenplay.', + author='Martin Vilcans', + author_email='screenplain@librador.com', + url='http://www.screenplain.com/', + packages=[ + 'screenplain', + 'screenplain.export', + 'screenplain.parsers', + ], + package_data={ + 'screenplain.export': ['default.css'] + }, + scripts=[ + 'bin/screenplain' + ] +) |