-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (30 loc) · 1.01 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
from setuptools import setup, find_packages, Command
import os
class CleanCommand(Command):
user_options = []
def initialize_options(self):
self.cwd = None
def finalize_options(self):
self.cwd = os.getcwd()
def run(self):
assert os.getcwd() == self.cwd, 'Must be in package root: %s' % self.cwd
os.system('rm -rf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
setup(
name='chainermnx',
version='0.1',
author="Albert Kahira",
author_email="[email protected]",
description="Extended ChainerMN",
long_description_content_type="Extended ChainerMN to facilate different forms of model parallelism ",
url="https://github.com/ankahira/chainermnx",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=['chainer', 'numpy'],
cmdclass={
'clean': CleanCommand,
}
)