Comments (9)
Hey Matresh, are you installing directly from the git repo or from Pypi (via pip)?
Because in the manifest.in file, I am excluding the tests folder. And on my machine, the tests directory is in fact not being included.
I think it would be better if we exclude in one place i.e. manifest.in. As per this, wouldn't adding recursive-exclude tests*
to the manifest.in be a better solution?
from aiogoogle.
Yeah, Using Pypi:
pip install aiogoogle
Using manifest.in will be better i think.
from aiogoogle.
I never worked with manifest.in but if I'm correctly understand prune must be similar to recursive-exclude tests* but prune currently not working
from aiogoogle.
Hmm, weird. Can you try and see if recursive-exclude tests*
works for you instead of prune tests
. If it does, I can merge that.
from aiogoogle.
Im not sure how can i test it, directly pip install from git repo is representative?
Or need to upload into PyPi ?
from aiogoogle.
I have 2 packages aiogoogle and test in top_level.txt
And 2 packages in -site-packages
from aiogoogle.
This is weird.
Im not sure how can i test it, directly pip install from git repo is representative?
Yes. Clone it, then make your changes. Then, in the CLI, write: python setup.py sdist
. Then , you'll find the new package in the dist
directory.
I did just that right now, and added the line that you wanted to add to the setup.py
file and it didn't change anything. I also tried replacing prune
with global-exclude
and replacing tests/
with **/*tests
and also nothing.
All of the methods I tried didn't include the tests directory in the .tar
package. Also, all of them included the line tests
in the top_level.txt
file.
Are you installing directly from Github? Maybe that's why you're getting this error.
If adding exclude=["tests"]
is the only thing that works for you, I don't mind merging it.
from aiogoogle.
Thanks for help, I've tested it for myself and any type of exclude from MANIFEST.in isn't working for me. exclude=["tests"] is not working too, but exclude=['tests*'] is working fine, i will create pull request with that changes soon
from aiogoogle.
Alrighty. Thank you Matresh! I'll release a new version now.
from aiogoogle.
Related Issues (20)
- Ability to upload from AsyncIterable object HOT 6
- Can we provide a way to test the package end to end? HOT 1
- URL formatting issue HOT 3
- URL encoding issues with Calendar IDs HOT 1
- Aiogoogle doesn't support the beta Drive Labels API HOT 5
- Token is not getting refreshed after its expired after around 1 hour HOT 17
- Inconsistent response. HOT 5
- Unclosed client session HOT 4
- URL formatting breaks the people.connections.list method HOT 1
- Updating google drive file contents yields corrupted file due to multipart HOT 5
- Authentication using application default method HOT 1
- HttpError doesn't include JSON error response with the "pipe_to" option enabled HOT 1
- paginn issue HOT 2
- Requesting Google Drive list with multiple pages always results in user_creds of None HOT 3
- Issue with `ServiceAccountCreds` with `universe_domain` HOT 2
- FYI sending messages with Gmail doesn't work HOT 1
- UserCreds oauth token not refreshed after 1hour HOT 1
- Bug in URL path parameter quoting HOT 10
- Using pipe_to and pipe_from HOT 13
- Module import error : contextvars HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiogoogle.