-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
48 lines (43 loc) · 1.54 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
import setuptools
from beampy import __version__ as beampy_version
# https://packaging.python.org/tutorials/packaging-projects/
# use this command in Beampy folder to create the pypi folder:
# python setup.py sdist bdist_wheel
# Then use this command to upload to pypi:
# twine upload dist/*
with open("README.rst", "r", encoding='utf-8') as fh:
long_description = fh.read()
setuptools.setup(
name='beampy',
version=beampy_version,
author="Jonathan Peltier and Marcel Soubkovsky",
author_email="jonathanp57@outlook.fr",
license="MIT License",
description="""Beampy is a python package - with an user interface -
allowing to propagate beams in differents waveguides using the
Beam Propagation Method (BPM)""",
long_description=long_description,
long_description_content_type='text/x-rst',
url="https://github.com/Python-simulation/Beampy",
project_urls={
'Documentation': 'https://beampy.readthedocs.io',
'Source Code': 'https://github.com/Python-simulation/Beampy'
},
packages=setuptools.find_packages(),
include_package_data=True,
classifiers=[
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.7',
install_requires=[
"numpy>=1.16",
"PyQt5>=5.13",
"matplotlib>=3.1",
"scipy>=1.1",
"numba>=0.38",
],
)