-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (30 loc) · 1.06 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
from setuptools import find_packages, setup
import setuptools
import io
try:
from pip._internal.req import parse_requirements
except ImportError:
from pip.req import parse_requirements
# Read in the README for the long description on PyPI
with io.open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
reqs = parse_requirements("requirements.txt", session=False)
install_requires = [str(ir.req) for ir in reqs]
setup(
name='mphyspy',
version='0.2.3',
description='Python3 library for calculating college-level modern physics',
long_description=readme,
long_description_content_type="text/markdown",
url='https://github.com/eunchan1001/mphyspy.git',
author='Eunchan Cho',
author_email='eunchan1001@gmail.com',
license='MIT',
install_requires=install_requires,
packages=find_packages(),
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
'Programming Language :: Python :: 3.7',
],
zip_safe=False)