-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·55 lines (46 loc) · 1.59 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
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ********
# setup.py
# ********
#
# Literate programming with reStructuredText
#
# ::
"""pylit: bidirectional text <-> code converter
Convert between a *text source* with embedded computer code and a *code source*
with embedded documentation.
"""
# Requirements for installation::
from setuptools import setup, find_packages
import pathlib
# Module Definition::
setup(
name='pylit',
version='3.1.1',
description='Python Literate Programming',
long_description=pathlib.Path('README.rst').read_text(),
author='S.Lott',
author_email='slott56@gmail.com',
python_requires=">=3.5",
url='https://github.com/slott56/PyLit-3',
project_urls={
"Documentation": 'https://slott56.github.io/PyLit-3/index.html',
"Source Code": 'https://github.com/slott56/PyLit-3',
"Bug Tracker": 'https://github.com/slott56/PyLit-3/issues',
},
provides='pylit',
py_modules=['pylit'],
classifiers=[
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Build Tools",
],
license='GNU General Public License (v. 2 or later)',
)
# And that's it. This will be installed into the site-packages directory.
# Technically, this isn't necessary. A simple copy will do.
# Further, the :envvar:`PYTHONPATH` environment variable can name a directory
# that has :file:`pylit.py` in it.