berkerpeksag / astor

Python AST read/write
https://pypi.org/project/astor/
BSD 3-Clause "New" or "Revised" License
803 stars 102 forks source link

Fix various packaging issues #135

Closed eklitzke closed 5 years ago

eklitzke commented 5 years ago

I'm trying to build an RPM package for astor (well, really I'm trying to build a package for Hy) and I came across a few issues during packaging that are fixed here. Mostly the relative imports should use the explicit "from ." syntax so they work outside of a pipenv.

I still get some test failures when trying to build astor but I think they're unrelated to packaging issues.

berkerpeksag commented 5 years ago

Thank you!