-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
executable file
·54 lines (47 loc) · 1.57 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import sys
import shutil
from setuptools.command.test import test as TestCommand
from setuptools import find_packages
def remove_dir(dirpath):
if os.path.exists(dirpath) and os.path.isdir(dirpath):
shutil.rmtree(dirpath)
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requires = [] #during runtime
tests_require=['pytest>=2.3'] #for testing
PACKAGE_PATH = os.path.abspath(os.path.join(__file__, os.pardir))
setup(
name='deepsource',
version='0.1.0',
description='Point Source Detection by Deep Learinng',
author='Alireza',
url='https://github.com/vafaeiar/deepsource',
packages=find_packages(PACKAGE_PATH, "deepsource"),
package_dir={'deepsource': 'deepsource'},
include_package_data=True,
install_requires=requires,
license='GPLv3',
zip_safe=False,
keywords='deepsource',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
"Intended Audience :: Science/Research",
'Intended Audience :: Developers',
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
]
)
remove_dir('build')
remove_dir('deepsource.egg-info')
remove_dir('dist')