When you have init-ed (
floyd init <project_name>) your project folder, a
.floydignore file has been created with the following content:
# Directories and files to ignore when uploading code to floyd
Remove the lib entry from this file and you will be able to upload the lib folder.
Hope it helps.