-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
38 lines (31 loc) · 1012 Bytes
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Setup file for jeppson.
This file was generated with PyScaffold 3.0.3.
PyScaffold helps you to put up the scaffold of your new Python project.
Learn more under: http://pyscaffold.org/
"""
import sys
from setuptools import setup
# Add here console scripts and other entry points in ini-style format
entry_points = """
[console_scripts]
# script_name = jeppson.module:function
# For example:
# fibonacci = jeppson.skeleton:run
jeppson_ch2 = jeppson.ch2:run
jeppson_ch4 = jeppson.ch4:run
jeppson_ch5 = jeppson.ch5:run
jeppson_ch6a = jeppson.ch6a:run
jeppson_ch6b = jeppson.ch6b:run
jeppson_ch7 = jeppson.ch7:run
"""
def setup_package():
needs_sphinx = {'build_sphinx', 'upload_docs'}.intersection(sys.argv)
sphinx = ['sphinx'] if needs_sphinx else []
setup(setup_requires=['pyscaffold>=3.0a0,<3.1a0'] + sphinx,
entry_points=entry_points,
use_pyscaffold=True)
if __name__ == "__main__":
setup_package()