Make pip install work.

- Having trouble with recursive dependencies not being installed.
- Try using install_requires in setup.py instead of requirements.txt files.
- Putting back version numbers.
This commit is contained in:
Andrew Hamilton 2021-12-20 14:59:07 +10:00
parent 143ee0ef1e
commit ca38a5e7c1
7 changed files with 14 additions and 16 deletions

View file

@ -1,10 +0,0 @@
pyinotify==0.9.6
pygments==2.10.0
docopt==0.6.2
pillow==8.4.0
toml==0.10.2
decorator==5.1.0
pexpect==4.8.0
git+https://github.com/ahamilton/eris@2021.12.16#subdirectory=termstr
git+https://github.com/ahamilton/eris@2021.12.16#subdirectory=fill3
git+https://github.com/ahamilton/eris@2021.12.16#subdirectory=lscolors

View file

@ -8,6 +8,7 @@ except ImportError:
setup(name="eris",
version="2021.12.16",
description=("Eris maintains an up-to-date set of reports for every file in a codebase."),
url="https://github.com/ahamilton/eris",
author="Andrew Hamilton",
@ -19,4 +20,9 @@ setup(name="eris",
entry_points={"console_scripts": ["eris=eris.__main__:entry_point",
"eris-worker=eris.worker:main",
"eris-webserver=eris.webserver:main",
"pydoc_color=eris.pydoc_color:main"]})
"pydoc_color=eris.pydoc_color:main"]},
install_requires=["pyinotify==0.9.6", "pygments==2.10.0", "docopt==0.6.2", "pillow==8.4.0",
"toml==0.10.2", "decorator==5.1.0", "pexpect==4.8.0",
"termstr @ git+https://github.com/ahamilton/eris@2021.12.16#subdirectory=termstr",
"fill3 @ git+https://github.com/ahamilton/eris@2021.12.16#subdirectory=fill3",
"lscolors @ git+https://github.com/ahamilton/eris@2021.12.16#subdirectory=lscolors"])

View file

@ -1 +0,0 @@
./termstr

View file

@ -8,9 +8,11 @@ except ImportError:
setup(name="fill3",
version="2021.12.16",
description=("Fill3 provides basic widgets for a tui."),
url="https://github.com/ahamilton/eris",
author="Andrew Hamilton",
author_email="and_hamilton@yahoo.com",
license="Artistic 2.0",
packages=["fill3"])
packages=["fill3"],
install_requires=["termstr @ git+https://github.com/ahamilton/eris@2021.12.16#subdirectory=termstr"])

View file

@ -5,6 +5,6 @@ set -e
sudo apt-get install -y python3.9 python3-pip
python3.9 -m pip install -r ./eris/requirements.txt ./eris
python3.9 -m pip install ./eris
# python3.9 -m pip install -e ./eris -e ./termstr -e ./fill3 -e ./lscolors # When developing.
./install-tools

View file

@ -1 +0,0 @@
cwcwidth==0.1.5

View file

@ -8,9 +8,11 @@ except ImportError:
setup(name="termstr",
version="2021.12.16",
description=("Termstr provides strings with extra terminal styling."),
url="https://github.com/ahamilton/eris",
author="Andrew Hamilton",
author_email="and_hamilton@yahoo.com",
license="Artistic 2.0",
py_modules=["termstr"])
py_modules=["termstr"],
install_requires=["cwcwidth==0.1.5"])