-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
52 lines (44 loc) · 1.51 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
import sys
from setuptools import setup, find_packages
from os import path, makedirs
from shutil import copy
import platform
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
py_ver = sys.version_info
with open("requirements.txt", "r") as f:
requirements = list(f.readlines())
if py_ver[1] < 5:
requirements.append('typing')
if py_ver[1] < 4:
requirements.append('enum')
setup(
name='khepri',
version='0.1.1',
python_requires='>=3.3, <4',
description='UNamur Physics Department RCWA Solver',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/kaeryv/khepri',
author='Kaeryv',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Games/Entertainment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
keywords='rcwa electromagnetic solver maxwell',
packages=['khepri'],
install_requires=requirements,
project_urls={ # Optional
'Bug Reports': 'https://github.com/kaeryv/khepri/issues',
'Source': 'https://github.com/kaeryv/khepri/',
},
)