-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
48 lines (39 loc) · 1.11 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
"""Installation script for flint."""
import os
import sys
try:
from setuptools import setup
from setuptools import Command
except ImportError:
from distutils.core import setup
from distutils.core import Command
# Project details
project_name = 'flint'
project_version = __import__(project_name).__version__
project_readme_fname = 'README.rst'
project_pkgs = [path for (path, dirs, files) in os.walk(project_name)
if '__init__.py' in files]
# README
with open(project_readme_fname) as f:
project_readme = f.read()
# Project setup
setup(
name = project_name,
version = project_version,
description = 'Fortran code analysis tool',
long_description = project_readme,
author = 'Marshall Ward',
author_email = '[email protected]',
url = 'http://github.com/marshallward/flint',
packages = project_pkgs,
entry_points={
'console_scripts': [
'flint = flint.cli:parse',
]
},
classifiers = [
'Development Status :: 1 - Planning',
'Programming Language :: Python :: 3.9',
'Topic :: Utilities',
]
)