-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (48 loc) · 1.7 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
55
56
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import os
from setuptools import find_packages, setup
# Package meta-data.
NAME = 'psyduck'
DESCRIPTION = 'Utility library for ML projects'
URL = 'https://github.com/bhavsarpratik/psyduck'
EMAIL = '[email protected]'
AUTHOR = 'Pratik Bhavsar'
here = os.path.abspath(os.path.dirname(__file__))
# Import the README and use it as the long-description.
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
with io.open(os.path.join(here, 'README.md')) as f:
long_description = '\n' + f.read()
# Load the package's __version__.py module as a dictionary.
about = {}
with open(os.path.join(here, 'psy', '__version__.py')) as f:
exec(f.read(), about)
# Load requirements file
required = {}
with open(os.path.join(here, 'requirements.txt')) as f:
required = f.read().splitlines()
setup(
name=NAME,
version=about['__version__'],
license='MIT',
description=DESCRIPTION,
long_description=long_description,
author=AUTHOR,
author_email=EMAIL,
url=URL,
download_url='',
keywords=['SOME', 'MEANINGFULL', 'KEYWORDS'],
packages=find_packages(exclude=('tests', 'bin')),
test_suite='tests',
install_requires=required,
include_package_data=True, # all files and directories listed in MANIFEST.in.
zip_safe=False, # the package can run out of an .egg file
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3'
]
)