-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
39 lines (35 loc) · 1.07 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
from setuptools import setup, find_packages
init = os.path.join(os.path.dirname(__file__), 'ballistics', '__init__.py')
with open(init, 'rt') as fd:
version = '1.0.' + re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1).split('v')[1]
setup(
name='ballistics',
version=version,
description='Compute ballistics for spherical projectiles',
author='David Manthey',
author_email='[email protected]',
url='https://github.com/manthey/ballistics/',
license='Apache 2.0',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3'
],
packages=find_packages(exclude=('utils')),
install_requires=[
'psutil>=4.1.0',
'PyYAML>=3.11',
],
extras_require={
'matplotlib': ['matplotlib>=1.5.1'],
},
zip_safe=True,
)