Commit 03ce8356 authored by Yannick Roehlly's avatar Yannick Roehlly
Browse files

Re-formatting of setup.py

parent 2807bb7f
...@@ -3,9 +3,10 @@ ...@@ -3,9 +3,10 @@
# Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
# Author: Yannick Roehlly # Author: Yannick Roehlly
from setuptools import setup, find_packages
from distutils.command.build import build from distutils.command.build import build
from setuptools import find_packages, setup
class custom_build(build): class custom_build(build):
def run(self): def run(self):
...@@ -17,7 +18,8 @@ class custom_build(build): ...@@ -17,7 +18,8 @@ class custom_build(build):
build.run(self) build.run(self)
entry_points = { entry_points = {
'console_scripts': ['pcigale = pcigale:main', 'pcigale-plots = pcigale_plots:main'] 'console_scripts': ['pcigale = pcigale:main',
'pcigale-plots = pcigale_plots:main']
} }
setup( setup(
...@@ -32,12 +34,12 @@ setup( ...@@ -32,12 +34,12 @@ setup(
include_package_data=True, include_package_data=True,
cmdclass={"build": custom_build}, cmdclass={"build": custom_build},
package_data={'pcigale': ['data/data.db'], 'pcigale-plots':['data/CIGALE.png']}, package_data={'pcigale': ['data/data.db'],
'pcigale-plots': ['data/CIGALE.png']},
author="Yannick Roehlly", author="Yannick Roehlly",
author_email="yannick.roehlly@oamp.fr", author_email="yannick.roehlly@oamp.fr",
description="Python Code Investigating Galaxy Emission", description="Python Code Investigating Galaxy Emission",
license="CeCILL-V2", license="CeCILL-V2",
keywords="astrophysics, galaxy, SED fitting" keywords="astrophysics, galaxy, SED fitting"
) )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment