forked from codecov/example-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (40 loc) · 1.13 KB
/
setup.py
File metadata and controls
49 lines (40 loc) · 1.13 KB
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
#!/usr/bin/env python3
#
# adas setup
#
# date: Sep 1 2021
# Maintainer: glozanoa <glozanoa@uni.pe>
from setuptools import setup, find_packages, Extension
#from adas import VERSION
VERSION = '0.0.1'
f = open('README.md', 'r')
LONG_DESCRIPTION = f.read()
f.close()
def get_requirements():
requirements = []
with open('requirements.txt', 'r') as adas_requirements:
for line in adas_requirements:
line = line.rstrip()
if line != '' or line.startwith("#"):
continue
requirements.append(line)
return requirements
setup(
name='awesome',
version=VERSION,
description='x',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
author='x',
author_email='x',
url='https://github.com/glozanoa/example-python',
license='GPL3',
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.9"
],
packages=find_packages(),
install_requires = get_requirements(),
include_package_data=True
)