We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9d4310 commit bd3c638Copy full SHA for bd3c638
setup.py
@@ -4,8 +4,14 @@
4
def read(fname):
5
return open(os.path.join(os.path.dirname(__file__), fname)).read()
6
7
-with open('requirements.txt') as f:
8
- required = f.read().splitlines()
+here = os.path.abspath(os.path.dirname(__file__))
+
9
+# What packages are required for this module to be executed?
10
+try:
11
+ with open(os.path.join(here, 'requirements.txt'), encoding='utf-8') as f:
12
+ required = f.read().split('\n')
13
+except:
14
+ required = []
15
16
setup(
17
name = "fourier_neural_operator",
@@ -18,4 +24,4 @@ def read(fname):
18
24
install_requires=required,
19
25
long_description_content_type='text/markdown',
20
26
download_url = "https://github.com/Forbu/fourier_neural_operator/archive/refs/tags/first.tar.gz",
21
-)
27
+)
0 commit comments