init
This commit is contained in:
commit
b41eb58ca3
10 changed files with 787 additions and 0 deletions
38
setup.py
Normal file
38
setup.py
Normal file
|
@ -0,0 +1,38 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
from os import path
|
||||
|
||||
# Function to read the requirements from the requirements.txt file
|
||||
def parse_requirements(filename):
|
||||
with open(filename, 'r') as file:
|
||||
return file.read().splitlines()
|
||||
|
||||
# Get the long description from the README file
|
||||
here = path.abspath(path.dirname(__file__))
|
||||
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
|
||||
setup(
|
||||
name = 'labhw',
|
||||
version = '0.1.1',
|
||||
author = "Francois Boulogne",
|
||||
license = "BSD",
|
||||
author_email = "devel@sciunto.org",
|
||||
description = "Manage my lab hardware",
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
scripts = ['bin/listUSBdevice.py',
|
||||
],
|
||||
|
||||
# Automatically find packages in the current directory
|
||||
packages=find_packages(), # Required
|
||||
|
||||
# Include additional files specified in MANIFEST.in
|
||||
include_package_data=True, # Optional
|
||||
|
||||
# Define your dependencies in a separate file
|
||||
install_requires=parse_requirements('requirements.txt'), # Optional
|
||||
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue