File tree Expand file tree Collapse file tree 4 files changed +60
-1
lines changed
Expand file tree Collapse file tree 4 files changed +60
-1
lines changed Original file line number Diff line number Diff line change 1- from ._run_pyscf import run_pyscf
1+ # Licensed under the Apache License, Version 2.0 (the "License");
2+ # you may not use this file except in compliance with the License.
3+ # You may obtain a copy of the License at
4+ #
5+ # http://www.apache.org/licenses/LICENSE-2.0
6+ #
7+ # Unless required by applicable law or agreed to in writing, software
8+ # distributed under the License is distributed on an "AS IS" BASIS,
9+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+ # See the License for the specific language governing permissions and
11+ # limitations under the License.
12+
13+ """
14+ FermiLib plugin to interface with PySCF.
15+ """
16+
17+ from ._version import __version__
18+
19+ try :
20+ from ._run_pyscf import run_pyscf
21+ except ImportError :
22+ raise Exception ("Please install PySCF." )
Original file line number Diff line number Diff line change 1+ # Licensed under the Apache License, Version 2.0 (the "License");
2+ # you may not use this file except in compliance with the License.
3+ # You may obtain a copy of the License at
4+ #
5+ # http://www.apache.org/licenses/LICENSE-2.0
6+ #
7+ # Unless required by applicable law or agreed to in writing, software
8+ # distributed under the License is distributed on an "AS IS" BASIS,
9+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+ # See the License for the specific language governing permissions and
11+ # limitations under the License.
12+
13+ """Define version number here and read it from setup.py automatically"""
14+ __version__ = "0.1a0"
Original file line number Diff line number Diff line change 1+ fermilib
Original file line number Diff line number Diff line change 1+ from setuptools import setup , find_packages
2+
3+ # This reads the __version__ variable from fermilibpluginpyscf/_version.py
4+ exec (open ('fermilibpluginpyscf/_version.py' ).read ())
5+ # Readme file as long_description:
6+ long_description = open ('README.rst' ).read ()
7+ # Read in requirements.txt
8+ requirements = open ('requirements.txt' ).readlines ()
9+ requirements = [r .strip () for r in requirements ]
10+
11+
12+ setup (
13+ name = 'fermilibpluginpyscf' ,
14+ version = __version__ ,
15+ author = 'FermiLib plugin PySCF developers' ,
16+ 17+ url = 'http://www.projectq.ch' ,
18+ description = 'A plugin allowing FermiLib to interface with PySCF.' ,
19+ long_description = long_description ,
20+ install_requires = requirements ,
21+ license = 'Apache 2' ,
22+ packages = find_packages ()
23+ )
You can’t perform that action at this time.
0 commit comments