-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
27 lines (24 loc) · 802 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
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def run_tests(self):
import shlex
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(['tests/'])
sys.exit(errno)
setup(
name = 'namelist_python',
packages = ['namelist_python'],
version = '0.1.4',
description = 'Fortran namelist file parser in Python',
author = 'Leif Denby',
author_email = '[email protected]',
url = 'https://github.com/leifdenby/namelist_python',
download_url = 'https://github.com/leifdenby/namelist_python/archive/0.1.3.tar.gz',
keywords = ['namelist', 'fortran', 'parsing'],
cmdclass=dict(test=PyTest),
tests_require=['pytest',],
classifiers = [],
)