forked from ludovicchabant/Jouvence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (33 loc) · 1.14 KB
/
setup.py
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
37
38
39
40
41
42
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os.path
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as fp:
return fp.read()
def readlines(fname):
return [l.strip() for l in read(fname).strip().splitlines()]
install_requires = readlines('requirements.txt')
tests_require = readlines('dev-requirements.txt')
long_description = read('README.rst')
setup(
name="Jouvence",
use_scm_version={'write_to': 'jouvence/version.py'},
description="A library for parsing and rendering Fountain screenplays.",
long_description=long_description,
author="Ludovic Chabant",
author_email="[email protected]",
license="Apache License 2.0",
url="https://bolt80.com/jouvence",
keywords='fountain screenplay screenwriting screenwriter',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=tests_require,
install_requires=install_requires,
entry_points={
'console_scripts': [
'jouvence = jouvence.cli:main'
]}
)