forked from bytedance/fedlearner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (28 loc) · 848 Bytes
/
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
import os
import platform
from setuptools import setup, find_packages
import time
with open("README.md", "r") as fh:
long_description = fh.read()
with open('requirements.txt') as f:
required = f.read().splitlines()
def get_version():
base = "1.5"
day = time.strftime('%Y%m%d', time.localtime())
return '%s-dev%s'%(base, day)
setup(
name='fedlearner',
version=get_version(),
packages=find_packages(),
include_package_data=True,
author='Fedlearner Contributors',
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=required,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux"
],
)