-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (34 loc) · 1.05 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
import setuptools
import os.path
readme = ""
here = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.join(here, "README.md")
if os.path.exists(readme_path):
with open(readme_path, "rb") as stream:
readme = stream.read().decode("utf8")
setuptools.setup(
name="postale",
version="0.1.0",
author="gully",
author_email="[email protected]",
description="A Python package for modeling diffraction gratings",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/Echelle/postale",
install_requires=[
"numpy",
"matplotlib",
],
packages=setuptools.find_packages(where="src", exclude=["data/*, paper/*, notebooks/*"]),
package_dir={"": "src"},
package_data={
# If any package contains *.txt files, include them:
"": ["*.csv"]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
)