simphony / simphony-common

The native implementation of the Simphony cuds objects
BSD 2-Clause "Simplified" License
7 stars 5 forks source link

Problem: rearranging modules is impossible due to absolute imports #348

Closed mehdisadeghi closed 7 years ago

mehdisadeghi commented 7 years ago

Solution: use relative imports with dot notation

P.S: this is a refactoring PR, nothing new.

stefanoborini commented 7 years ago

You probably mean the opposite. You are making them relative.

mehdisadeghi commented 7 years ago

You probably mean the opposite. You are making them relative.

Hehe, yeah just corrected it! :)

stefanoborini commented 7 years ago

Sorry!

mehdisadeghi commented 7 years ago

@stefanoborini Your response time is really short! Thumbs up :+1:

stefanoborini commented 7 years ago

Still unclear. Do you want them relative or absolute?

mehdisadeghi commented 7 years ago

Still unclear. Do you want them relative or absolute?

@stefanoborini I want them to be relative to the current package using the dot notation in order to be able to rearrange packages and modules in the project folder.