Change source layout
* In preparation for PEP517 transition. Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
25 files changed
+3
-3
No files matched your search
@@ -21,7 +21,7 @@ from os.path import join, dirname
|
|||||||
from distutils import log
|
from distutils import log
|
||||||
|
|
||||||
|
|
||||||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'pym'))
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))
|
||||||
|
|
||||||
__version__ = os.getenv('VERSION', default='9999')
|
__version__ = os.getenv('VERSION', default='9999')
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ class SetVersion(Command):
|
|||||||
|
|
||||||
packages = [
|
packages = [
|
||||||
str('.'.join(root.split(os.sep)[1:]))
|
str('.'.join(root.split(os.sep)[1:]))
|
||||||
for root, dirs, files in os.walk('pym/euscan')
|
for root, dirs, files in os.walk('src/euscan')
|
||||||
if '__init__.py' in files
|
if '__init__.py' in files
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -92,7 +92,7 @@ setup(
|
|||||||
# Command line utility
|
# Command line utility
|
||||||
'beautifulsoup4>=4.8.2',
|
'beautifulsoup4>=4.8.2',
|
||||||
],
|
],
|
||||||
package_dir={'': 'pym'},
|
package_dir={'': 'src'},
|
||||||
packages=packages,
|
packages=packages,
|
||||||
package_data={},
|
package_data={},
|
||||||
scripts=python_scripts,
|
scripts=python_scripts,
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user