11
|
1 #!/usr/bin/env python
|
|
2 # -*- coding: utf-8 -*-
|
|
3
|
|
4 import os.path
|
|
5 from setuptools import setup, find_packages
|
|
6
|
|
7
|
|
8 def read(fname):
|
|
9 with open(os.path.join(os.path.dirname(__file__), fname)) as fp:
|
|
10 return fp.read()
|
|
11
|
|
12
|
|
13 def readlines(fname):
|
|
14 return [l.strip() for l in read(fname).strip().splitlines()]
|
|
15
|
|
16
|
|
17 install_requires = readlines('requirements.txt')
|
|
18 tests_require = readlines('dev-requirements.txt')
|
|
19 long_description = read('README.rst')
|
|
20
|
|
21
|
|
22 setup(
|
13
|
23 name="Jouvence",
|
|
24 use_scm_version={'write_to': 'jouvence/version.py'},
|
11
|
25 description="A library for parsing and rendering Fountain screenplays.",
|
|
26 long_description=long_description,
|
|
27 author="Ludovic Chabant",
|
|
28 author_email="ludovic@chabant.com",
|
|
29 license="Apache License 2.0",
|
13
|
30 url="https://bolt80.com/jouvence",
|
11
|
31 keywords='fountain screenplay screenwriting screenwriter',
|
|
32 packages=find_packages(),
|
|
33 include_package_data=True,
|
|
34 zip_safe=False,
|
|
35 setup_requires=['setuptools_scm', 'pytest-runner'],
|
|
36 tests_require=tests_require,
|
|
37 install_requires=install_requires,
|
|
38 entry_points={
|
|
39 'console_scripts': [
|
13
|
40 'jouvence = jouvence.cli.main'
|
11
|
41 ]}
|
|
42 )
|