forked from TanabeLab/JOS-3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (46 loc) · 1.63 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
# -*- coding:utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
import os
from setuptools import setup, find_packages
try:
with open('README.md') as f:
readme = f.read()
except IOError:
readme = ''
# version
here = os.path.dirname(os.path.abspath(__file__))
initpath = os.path.join(here, "src", 'jos3', '__init__.py')
for line in open(initpath):
if "version" in line:
line = line.split('=')[1].strip().replace('"', "").replace("'", "")
version = line
def _requires_from_file(filename):
return open(filename).read().splitlines()
setup(
name="jos3",
version=version,
url='https://github.com/TanabeLab/JOS-3',
author='Yoshito Takahashi',
author_email='[email protected]',
description='Joint-thermoregulation system, JOS-3',
long_description=readme,
long_description_content_type='text/markdown',
packages=find_packages("src"),
package_dir={'': "src"},
# install_requires=_requires_from_file('requirements.txt'),
# setup_requires=["numpy"],
# tests_requires=["numpy", "pandas", "matplotlib"],
license="MIT",
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'License :: OSI Approved :: MIT License',
],)