In case the previous answers suggesting to use Pkg.dev weren’t explicit enough, here is what you should be able to do with such a file structure:
shell$ julia --project=AstroText
# Declare dependencies to both your libraries
# using `develop` means that Pkg does not try to manage versions:
# you'll use your dependences as they are defined by the current state
# of the julia source files in the given paths
julia> import Pkg
julia> Pkg.develop("path/to/AstroPhysics")
julia> Pkg.develop("path/to/TextManipulation")
The commands above should be run once, to populate the AstroText/Manifest.toml file with the relevant information. From there, you can use your libraries from your script without any problem:
shell$ julia --project=AstroText
julia> using AstroPhysics # should work and load sources from the registered path on your filesystem