from setuptools import setup
from pathlib import Path

TOP_DIR = Path(__file__).parent.resolve()

with open(TOP_DIR.joinpath("requirements.txt")) as handle:
    REQUIREMENTS = [f"{_.strip()}" for _ in handle.readlines() if " " not in _]

with open(TOP_DIR.joinpath("README.md")) as fd:
    long_description = fd.read()

setup(name='environmentfinder',
      version='1.1.3',
      description='Tool for finding atomic environments in crystal structures',
      long_description=long_description,
      long_description_content_type='text/markdown',
      url='http://github.com/PabloPiaggi/EnvironmentFinder',
      author='Pablo Piaggi',
      author_email='ppiaggi@princeton.edu',
      license='GNU General Public License v3.0',
      packages=['environmentfinder'],
      #packages=find_packages(),
      install_requires=REQUIREMENTS,
      scripts=['bin/environmentfinder'],
      include_package_data=True
      #package_data={"environmentfinder": ["App.ipynb", "logo*.png"]}
)
