-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
30 lines (26 loc) · 981 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
from setuptools import setup, find_packages
import perfectmoney
requirements_path='requirements.txt'
with open("README.md", "r") as fh:
long_description = fh.read()
def parse_requirements(filename):
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
install_reqs = parse_requirements(requirements_path)
setup(
name='perfectmoney',
version=str(perfectmoney.__version__),
description=perfectmoney.__description__,
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/quitegreensky/perfectmoney",
author=perfectmoney.__author__,
author_email=perfectmoney.__email__,
license='MIT',
install_requires=parse_requirements(requirements_path) ,
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
],
)