-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
43 lines (37 loc) · 1.36 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
# -*- coding: utf-8 -*-
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
readme = open('README.md').read()
with open('requirements.txt', encoding='utf-8') as f:
requirements = [l for l in f.read().splitlines() if l]
with open('dev-requirements.txt', encoding='utf-8') as f:
test_requirements = [l for l in f.read().splitlines() if l][1:]
setup(
name='rannet',
version='0.3.1',
description='Recurrent Attention Networks',
long_description=readme,
long_description_content_type="text/markdown",
author='sean lee',
author_email='xmlee97@gmail.com',
packages=find_packages(exclude=("tests", "tests.*", "examples", "examples.*")),
install_requires=requirements,
zip_safe=False,
keywords='rannet',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
test_suite='tests',
tests_require=test_requirements,
)