forked from VACUMM/sphinx-fortran
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (39 loc) · 1.15 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
# -*- coding: utf-8 -*-
# Inits
from setuptools import setup, find_packages
import sys
import os
# Version, etc
sys.path.insert(0, 'sphinxfortran')
from sphinxfortran import ( __version__ as version, __author__ as author,
__email__ as author_email)
del sys.path[0]
# From files
base = os.path.dirname(__file__)
with open(os.path.join(base, 'README.rst')) as f:
long_description = f.read()
with open(os.path.join(base, 'requirements.txt')) as f:
requires = filter(None, f.read().split('\n'))
# Other infos
description = 'Fortran domain and autodoc extensions to Sphinx'
maintainer = author
maintainer_email = author_email
license = "CeCiLL-A"
url = "http://sphinx-fortran.readthedocs.org"
classifiers=[]
if __name__ == '__main__':
# Lauch setup
setup(name='sphinx-fortran',
version=version,
description=description,
long_description=long_description,
author=author,
author_email=author_email,
maintainer=author,
maintainer_email=author_email,
license=license,
url=url,
classifiers=classifiers,
packages=find_packages(),
install_requires=requires,
)